Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
desaxe::AddText_body< Obj_Type > Class Template Reference

Stores text (PCDATA) in the topmost object on the stack. More...

#include <simple_actions.h>

Inheritance diagram for desaxe::AddText_body< Obj_Type >:
Inheritance graph
Collaboration diagram for desaxe::AddText_body< Obj_Type >:
Collaboration graph

List of all members.

Public Types

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

Public Member Functions

 AddText_body (FunType add)
void chars (const Xml_string &txt)

Protected Member Functions

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

Protected Attributes


Private Attributes

FunType addT

Detailed Description

template<class Obj_Type>
class desaxe::AddText_body< Obj_Type >

Stores text (PCDATA) in the topmost object on the stack.

This might be called more than once.

Definition at line 498 of file simple_actions.h.

Member Typedef Documentation

template<class Obj_Type >
typedef void(Obj_Type::* desaxe::AddText_body< Obj_Type >::FunType)(const Xml_string &)

Definition at line 501 of file simple_actions.h.

Constructor & Destructor Documentation

template<class Obj_Type >
desaxe::AddText_body< Obj_Type >::AddText_body ( FunType  add) [inline]

Definition at line 503 of file simple_actions.h.

                                 : addT(add) 

Member Function Documentation

virtual void desaxe::Action_body::begin ( const Xml_string ,
) [inline, protected, virtual, inherited]
template<class Obj_Type >
void desaxe::AddText_body< Obj_Type >::chars ( const Xml_string txt) [inline, virtual]

Reimplemented from desaxe::Action_body.

Definition at line 506 of file simple_actions.h.

              Obj_Type* obj = this->dig->template top<Obj_Type>();
              (obj->*addT)( txt ); 
virtual void desaxe::Action_body::end ( const Xml_string ) [inline, protected, virtual, inherited]

Member Data Documentation

template<class Obj_Type >
FunType desaxe::AddText_body< Obj_Type >::addT [private]

Definition at line 512 of file simple_actions.h.

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: