Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Nektar::LibUtilities::NekFactory< tKey, tBase, >::ModuleEntry Struct Reference

Define a struct to hold the information about a module. More...

#include <NekFactory.hpp>

Collaboration diagram for Nektar::LibUtilities::NekFactory< tKey, tBase, >::ModuleEntry:
Collaboration graph
[legend]

Public Member Functions

 ModuleEntry (CreatorFunction pFunc, const tDescription pDesc)
 

Public Attributes

CreatorFunction m_func
 Function used to create instance of class. More...
 
tDescription m_desc
 Description of class for use in listing available classes. More...
 

Detailed Description

template<typename tKey, typename tBase, BOOST_PP_ENUM(MAX_PARAM, FACTORY_print, typename tParam)>
struct Nektar::LibUtilities::NekFactory< tKey, tBase, >::ModuleEntry

Define a struct to hold the information about a module.

Definition at line 130 of file NekFactory.hpp.

Constructor & Destructor Documentation

template<typename tKey , typename tBase , BOOST_PP_ENUM(MAX_PARAM, FACTORY_print, typename tParam) >
Nektar::LibUtilities::NekFactory< tKey, tBase, >::ModuleEntry::ModuleEntry ( CreatorFunction  pFunc,
const tDescription  pDesc 
)
inline

Definition at line 132 of file NekFactory.hpp.

133  : m_func(pFunc),
134  m_desc(pDesc)
135  {
136  }
CreatorFunction m_func
Function used to create instance of class.
Definition: NekFactory.hpp:139
tDescription m_desc
Description of class for use in listing available classes.
Definition: NekFactory.hpp:141

Member Data Documentation

template<typename tKey , typename tBase , BOOST_PP_ENUM(MAX_PARAM, FACTORY_print, typename tParam) >
tDescription Nektar::LibUtilities::NekFactory< tKey, tBase, >::ModuleEntry::m_desc

Description of class for use in listing available classes.

Definition at line 141 of file NekFactory.hpp.

template<typename tKey , typename tBase , BOOST_PP_ENUM(MAX_PARAM, FACTORY_print, typename tParam) >
CreatorFunction Nektar::LibUtilities::NekFactory< tKey, tBase, >::ModuleEntry::m_func

Function used to create instance of class.

Definition at line 139 of file NekFactory.hpp.

Referenced by Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance().