Back to index

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

This class implements typed constructors. More...

#include <actions.h>

Inheritance diagram for desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >:
Inheritance graph
[legend]
Collaboration diagram for desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MakeAction ()
 MakeAction (Arg1 a1)
 MakeAction (Arg1 a1, Arg2 a2)
 MakeAction (Arg1 a1, Arg2 a2, Arg3 a3)
 MakeAction (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
 MakeAction (Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
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 Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
struct desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >

This class implements typed constructors.

They are in a subclass since we don't want the type arguments in Action itself. Use "class MyAction : public MakeAction<MyAction_body> {} " to define your own Actions. You have to implement MyAction constructors if you want constructors with arguments.

Definition at line 115 of file actions.h.


Constructor & Destructor Documentation

template<class Body, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >::MakeAction ( ) [inline]

Definition at line 117 of file actions.h.

: Action(new Body()) {}
template<class Body, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >::MakeAction ( Arg1  a1) [inline]

Definition at line 118 of file actions.h.

: Action(new Body(a1)) {}
template<class Body, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >::MakeAction ( Arg1  a1,
Arg2  a2 
) [inline]

Definition at line 119 of file actions.h.

: Action(new Body(a1, a2)) {}
template<class Body, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >::MakeAction ( Arg1  a1,
Arg2  a2,
Arg3  a3 
) [inline]

Definition at line 120 of file actions.h.

: Action(new Body(a1, a2, a3)) {}
template<class Body, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >::MakeAction ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4 
) [inline]

Definition at line 121 of file actions.h.

: Action(new Body(a1, a2, a3, a4)) {}
template<class Body, class Arg1 = Dummy, class Arg2 = Dummy, class Arg3 = Dummy, class Arg4 = Dummy, class Arg5 = Dummy>
desaxe::MakeAction< Body, Arg1, Arg2, Arg3, Arg4, Arg5 >::MakeAction ( Arg1  a1,
Arg2  a2,
Arg3  a3,
Arg4  a4,
Arg5  a5 
) [inline]

Definition at line 122 of file actions.h.

: Action(new Body(a1, a2, a3, a4, a5)) {}

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:

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: