desaxe::SetText_body< Obj_Type > Class Template Reference
#include <simple_actions.h>


Public Types | |
| typedef void(Obj_Type::* | FunType )(const Xml_string &) |
Public Member Functions | |
| SetText_body (FunType set) | |
| void | begin (const Xml_string &, Xml_attr) |
| void | chars (const Xml_string &chunk) |
| void | end (const Xml_string &tag) |
Private Attributes | |
| FunType | setT |
| Xml_string | txt |
Detailed Description
template<class Obj_Type>
class desaxe::SetText_body< Obj_Type >
Collects text (PCDATA) chunks and later stores it in the topmost object on the stack. This is only called once at the close tag of the current pattern. WARNING: not safe for nesting
Definition at line 534 of file simple_actions.h.
Member Typedef Documentation
| typedef void(Obj_Type::* desaxe::SetText_body< Obj_Type >::FunType)(const Xml_string &) |
Constructor & Destructor Documentation
| desaxe::SetText_body< Obj_Type >::SetText_body | ( | FunType | set | ) | [inline] |
Definition at line 539 of file simple_actions.h.
Member Function Documentation
| void desaxe::SetText_body< Obj_Type >::begin | ( | const Xml_string & | , | |
| Xml_attr | ||||
| ) | [inline, virtual] |
Reimplemented from desaxe::Action_body.
Definition at line 542 of file simple_actions.h.
References desaxe::SetText_body< Obj_Type >::txt.
| void desaxe::SetText_body< Obj_Type >::chars | ( | const Xml_string & | chunk | ) | [inline, virtual] |
Reimplemented from desaxe::Action_body.
Definition at line 547 of file simple_actions.h.
References desaxe::SetText_body< Obj_Type >::txt.
| void desaxe::SetText_body< Obj_Type >::end | ( | const Xml_string & | tag | ) | [inline, virtual] |
Reimplemented from desaxe::Action_body.
Definition at line 552 of file simple_actions.h.
References desaxe::Action_body::dig, desaxe::SetText_body< Obj_Type >::setT, and desaxe::SetText_body< Obj_Type >::txt.
Member Data Documentation
FunType desaxe::SetText_body< Obj_Type >::setT [private] |
Definition at line 559 of file simple_actions.h.
Referenced by desaxe::SetText_body< Obj_Type >::end().
Xml_string desaxe::SetText_body< Obj_Type >::txt [private] |
Definition at line 560 of file simple_actions.h.
Referenced by desaxe::SetText_body< Obj_Type >::begin(), desaxe::SetText_body< Obj_Type >::chars(), and desaxe::SetText_body< Obj_Type >::end().
The documentation for this class was generated from the following file:
