desaxe::SetAttribute_body< Obj_Type, Data_Type > Class Template Reference
#include <simple_actions.h>


Public Types | |
| typedef void(Obj_Type::* | FunType )(Data_Type) |
Public Member Functions | |
| SetAttribute_body (FunType set, const Xml_string &name) | |
| SetAttribute_body (FunType set, const Xml_string &name, Data_Type deflt) | |
| void | begin (const Xml_string &, Xml_attr attr) |
Private Attributes | |
| FunType | set_ |
| Xml_string | name_ |
| Data_Type | default_ |
| bool | hasDefault_ |
Detailed Description
template<class Obj_Type, class Data_Type>
class desaxe::SetAttribute_body< Obj_Type, Data_Type >
Stores named attribute to the topmost object on the stack if attribute present, or stores defauot if present.
Definition at line 400 of file simple_actions.h.
Member Typedef Documentation
| typedef void(Obj_Type::* desaxe::SetAttribute_body< Obj_Type, Data_Type >::FunType)(Data_Type) |
Constructor & Destructor Documentation
| desaxe::SetAttribute_body< Obj_Type, Data_Type >::SetAttribute_body | ( | FunType | set, | |
| const Xml_string & | name | |||
| ) | [inline] |
Definition at line 405 of file simple_actions.h.
| desaxe::SetAttribute_body< Obj_Type, Data_Type >::SetAttribute_body | ( | FunType | set, | |
| const Xml_string & | name, | |||
| Data_Type | deflt | |||
| ) | [inline] |
Definition at line 409 of file simple_actions.h.
Member Function Documentation
| void desaxe::SetAttribute_body< Obj_Type, Data_Type >::begin | ( | const Xml_string & | , | |
| Xml_attr | attr | |||
| ) | [inline, virtual] |
Reimplemented from desaxe::Action_body.
Definition at line 413 of file simple_actions.h.
References desaxe::SetAttribute_body< Obj_Type, Data_Type >::default_, desaxe::Action_body::dig, desaxe::SetAttribute_body< Obj_Type, Data_Type >::hasDefault_, desaxe::SetAttribute_body< Obj_Type, Data_Type >::name_, desaxe::SetAttribute_body< Obj_Type, Data_Type >::set_, and Xml_data().
Member Data Documentation
FunType desaxe::SetAttribute_body< Obj_Type, Data_Type >::set_ [private] |
Definition at line 423 of file simple_actions.h.
Referenced by desaxe::SetAttribute_body< Obj_Type, Data_Type >::begin().
Xml_string desaxe::SetAttribute_body< Obj_Type, Data_Type >::name_ [private] |
Definition at line 424 of file simple_actions.h.
Referenced by desaxe::SetAttribute_body< Obj_Type, Data_Type >::begin().
Data_Type desaxe::SetAttribute_body< Obj_Type, Data_Type >::default_ [private] |
Definition at line 425 of file simple_actions.h.
Referenced by desaxe::SetAttribute_body< Obj_Type, Data_Type >::begin().
bool desaxe::SetAttribute_body< Obj_Type, Data_Type >::hasDefault_ [private] |
Definition at line 426 of file simple_actions.h.
Referenced by desaxe::SetAttribute_body< Obj_Type, Data_Type >::begin().
The documentation for this class was generated from the following file:
