Scribus
Open source desktop publishing at your fingertips
desaxe::FactoryWithName_body< Obj_Type > Class Template Reference

#include <simple_actions.h>

Inheritance diagram for desaxe::FactoryWithName_body< Obj_Type >:
Collaboration diagram for desaxe::FactoryWithName_body< Obj_Type >:

Public Types

typedef Obj_Type *(* FunType) (const Xml_string &)
 

Public Member Functions

 FactoryWithName_body (FunType create)
 
void begin (const Xml_string &tag, Xml_attr)
 
- Public Member Functions inherited from desaxe::Generator_body< Obj_Type >
virtual Obj_Type * eval (Digester *dig_, const Xml_string &tag, Xml_attr attr)
 

Additional Inherited Members

- Protected Member Functions inherited from desaxe::Generator_body< Obj_Type >
virtual void end (const Xml_string &)
 
- Protected Member Functions inherited from desaxe::Action_body
virtual void chars (const Xml_string &)
 
virtual void reset ()
 
- Protected Attributes inherited from desaxe::Action_body
Digesterdig
 

Detailed Description

template<class Obj_Type>
class desaxe::FactoryWithName_body< Obj_Type >

Pushes a new object of type Obj_Type onto the stack which is initialized with the tag name. If no create method is given, Obj_Type needs a constructor which taks a Xml_string argument


The documentation for this class was generated from the following file: