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.
tDescription m_desc
 Description of class for use in listing available classes.

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 126 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 128 of file NekFactory.hpp.

: m_func(pFunc),
m_desc(pDesc)
{
}

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 137 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 135 of file NekFactory.hpp.