Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions
desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 > Struct Template Reference

This class implements typed constructors. More...

#include <actions.h>

Inheritance diagram for desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >:
Inheritance graph
[legend]
Collaboration diagram for desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MakeGenerator ()
 MakeGenerator (Arg1 a)
 MakeGenerator (Arg1 a1, Arg2 a2)
 MakeGenerator (Arg1 a1, Arg2 a2, Arg3 a3)
Obj_Type * eval (Digester *dig, const Xml_string &tag, Xml_attr attr)
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)

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.

Definition at line 176 of file actions.h.


Constructor & Destructor Documentation

template<class Body, class Obj_Type, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy>
desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >::MakeGenerator ( ) [inline]

Definition at line 178 of file actions.h.

: Generator<Obj_Type>(new Body()) {}
template<class Body, class Obj_Type, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy>
desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >::MakeGenerator ( Arg1  a) [inline]

Definition at line 179 of file actions.h.

: Generator<Obj_Type>(new Body(a)) {}
template<class Body, class Obj_Type, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy>
desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >::MakeGenerator ( Arg1  a1,
Arg2  a2 
) [inline]

Definition at line 180 of file actions.h.

: Generator<Obj_Type>(new Body(a1, a2)) {}
template<class Body, class Obj_Type, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy>
desaxe::MakeGenerator< Body, Obj_Type, Arg1, Arg2, Arg3 >::MakeGenerator ( Arg1  a1,
Arg2  a2,
Arg3  a3 
) [inline]

Definition at line 181 of file actions.h.

: Generator<Obj_Type>(new Body(a1, a2, a3)) {}

Member Function Documentation

void desaxe::Action::begin ( const Xml_string tag,
Xml_attr  attr 
) [inline, inherited]

Definition at line 64 of file actions.h.

                                                  { body->begin(tag, attr); }

Here is the call graph for this function:

void desaxe::Action::chars ( const Xml_string data) [inline, inherited]

Definition at line 67 of file actions.h.

{ body->chars(data); }

Here is the call graph for this function:

Digester* desaxe::Action::digester ( ) [inline, inherited]

Definition at line 61 of file actions.h.

{ return body->dig; }
void desaxe::Action::end ( const Xml_string tag) [inline, inherited]

Definition at line 66 of file actions.h.

{ body->end(tag); }

Here is the call graph for this function:

Obj_Type * desaxe::Generator< Obj_Type >::eval ( Digester dig,
const Xml_string tag,
Xml_attr  attr 
) [inline, inherited]

Definition at line 158 of file actions.h.

       {
              return static_cast<Generator_body<Type>*>(body)->eval(dig, tag, attr);
       }
void desaxe::Action::setDigester ( Digester dig) [inline, inherited]

Definition at line 62 of file actions.h.

{ body->dig = dig; }

Here is the caller graph for this function:


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