Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Protected Member Functions | Protected Attributes | Private Attributes | Friends
desaxe::Action_body Class Reference

Action / Action_body follow the handle/body pattern. More...

#include <actions.h>

Inheritance diagram for desaxe::Action_body:
Inheritance graph
Collaboration diagram for desaxe::Action_body:
Collaboration graph

List of all members.

Protected Member Functions

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

Protected Attributes


Private Attributes

int refs


class Action

Detailed Description

Action / Action_body follow the handle/body pattern.

This allows to omit the new operator when creating Action expressions and make dynamic memory handling more secure. Base class for the body of all actions. Usually Digester calls these methods, but subclasses are also allowed to call those methods if they know what they are doing...

Definition at line 28 of file actions.h.

Constructor & Destructor Documentation

desaxe::Action_body::Action_body ( ) [inline, protected]

Definition at line 31 of file actions.h.

:                     dig(NULL)  {}
virtual desaxe::Action_body::~Action_body ( ) [inline, protected, virtual]

Definition at line 32 of file actions.h.


Member Function Documentation

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

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:

virtual void desaxe::Action_body::end ( const Xml_string ) [inline, protected, virtual]

Friends And Related Function Documentation

friend class Action [friend]

Definition at line 41 of file actions.h.

Member Data Documentation

Definition at line 38 of file actions.h.

Definition at line 40 of file actions.h.

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