Scribus
Open source desktop publishing at your fingertips
desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 > Struct Template Reference

#include <actions.h>

Inheritance diagram for desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >:
Collaboration diagram for desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >:

Public Member Functions

 MakeGenerator (Arg1 a)
 
 MakeGenerator (Arg1 a1, Arg2 a2)
 
 MakeGenerator (Arg1 a1, Arg2 a2, Arg3 a3)
 
- Public Member Functions inherited from desaxe::Generator< Obj_Type >
Obj_Type * eval (Digester *dig, const Xml_string &tag, Xml_attr attr)
 
- Public Member Functions inherited from desaxe::Action
Digesterdigester ()
 
void setDigester (Digester *dig)
 
void begin (const Xml_string &tag, Xml_attr attr)
 
void end (const Xml_string &tag)
 
void chars (const Xml_string &data)
 
 Action (const Action &other)
 
Actionoperator= (const Action &other)
 
virtual void reset ()
 

Additional Inherited Members

- Protected Member Functions inherited from desaxe::Generator< Obj_Type >
 Generator (Generator_body< Obj_Type > *body_)
 
- Protected Member Functions inherited from desaxe::Action
 Action (Action_body *body_)
 
- Protected Attributes inherited from desaxe::Action
Action_bodybody
 

Detailed Description

template<class Body, class Obj_Type, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy>
struct desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >

This class implements typed constructors. They are in a subclass since we don't want the type arguments in Generator itself. Use "class MyGenerator : public MakeGenerator<MyGenarator_body, MyType> {} " to define your own generators. You have to implement MyGenerator constructors if you want constructors with arguments.


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