Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Protected Member Functions | Protected Attributes
desaxe::Generator_body< Type > Class Template Reference

Abstract class for actions which leave a new object on the stack The begin() method is defined in subclasses and puts the object on stack, the generic end() method removes this object from stack. More...

#include <actions.h>

Inheritance diagram for desaxe::Generator_body< Type >:
Inheritance graph
[legend]
Collaboration diagram for desaxe::Generator_body< Type >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Type * eval (Digester *dig_, const Xml_string &tag, Xml_attr attr)

Protected Member Functions

virtual void end (const Xml_string &)
virtual void begin (const Xml_string &, Xml_attr)
virtual void chars (const Xml_string &)

Protected Attributes

Digesterdig

Detailed Description

template<class Type>
class desaxe::Generator_body< Type >

Abstract class for actions which leave a new object on the stack The begin() method is defined in subclasses and puts the object on stack, the generic end() method removes this object from stack.

Definition at line 133 of file actions.h.


Member Function Documentation

virtual void desaxe::Action_body::begin ( const Xml_string ,
Xml_attr   
) [inline, protected, virtual, inherited]
virtual void desaxe::Action_body::chars ( const Xml_string ) [inline, protected, virtual, inherited]

Reimplemented in AppendText_body, desaxe::SetText_body< Obj_Type >, and desaxe::AddText_body< Obj_Type >.

Definition at line 36 of file actions.h.

{}

Here is the caller graph for this function:

template<class Type>
virtual void desaxe::Generator_body< Type >::end ( const Xml_string ) [inline, protected, virtual]

Reimplemented from desaxe::Action_body.

Definition at line 146 of file actions.h.

{ dig->pop(); }

Here is the caller graph for this function:

template<class Type>
virtual Type* desaxe::Generator_body< Type >::eval ( Digester dig_,
const Xml_string tag,
Xml_attr  attr 
) [inline, virtual]

Definition at line 136 of file actions.h.

       {
              dig = dig_;
              begin(tag, attr);
              Type* res;
              res = dig->template top<Type>();
              end(tag);
              return res;
       }

Member Data Documentation

Digester* desaxe::Action_body::dig [protected, inherited]

Definition at line 38 of file actions.h.


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