desaxe::FactoryWithArgs_body< Obj_Type > Class Template Reference
#include <simple_actions.h>
Inheritance diagram for desaxe::FactoryWithArgs_body< Obj_Type >:

Collaboration diagram for desaxe::FactoryWithArgs_body< Obj_Type >:

Public Types | |
| typedef Obj_Type *(* | FunType )(const Xml_string &, Xml_attr) |
Public Member Functions | |
| FactoryWithArgs_body (FunType create) | |
| void | begin (const Xml_string &name, Xml_attr attr) |
Private Attributes | |
| Obj_Type *(* | create_ )(const Xml_string &, Xml_attr) |
Detailed Description
template<class Obj_Type>
class desaxe::FactoryWithArgs_body< Obj_Type >
Pushes a new object of type Obj_Type onto the stack.
Definition at line 89 of file simple_actions.h.
Member Typedef Documentation
template<class Obj_Type>
| typedef Obj_Type*(* desaxe::FactoryWithArgs_body< Obj_Type >::FunType)(const Xml_string &, Xml_attr) |
Constructor & Destructor Documentation
template<class Obj_Type>
| desaxe::FactoryWithArgs_body< Obj_Type >::FactoryWithArgs_body | ( | FunType | create | ) | [inline] |
Definition at line 94 of file simple_actions.h.
Member Function Documentation
template<class Obj_Type>
| void desaxe::FactoryWithArgs_body< Obj_Type >::begin | ( | const Xml_string & | name, | |
| Xml_attr | attr | |||
| ) | [inline, virtual] |
Reimplemented from desaxe::Action_body.
Definition at line 98 of file simple_actions.h.
References desaxe::FactoryWithArgs_body< Obj_Type >::create_, desaxe::Action_body::dig, and desaxe::Digester::push().
Member Data Documentation
template<class Obj_Type>
Obj_Type*(* desaxe::FactoryWithArgs_body< Obj_Type >::create_)(const Xml_string &, Xml_attr) [private] |
Referenced by desaxe::FactoryWithArgs_body< Obj_Type >::begin().
The documentation for this class was generated from the following file:
