| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
plist::Primitive< bool > Class Template Reference#include <plist.h>
Inheritance diagram for plist::Primitive< bool >: ![]() Detailed Descriptiontemplate<>
provides a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Primitive () | |
| constructor | |
| Primitive (const bool &v) | |
| casting constructor | |
| Primitive & | operator= (const bool &v) |
| assignment constructor | |
| const bool & | operator * () const |
| dereference will return data storage | |
| const bool * | operator-> () const |
| can use -> to access members of data storage | |
| operator bool () const | |
| casting operator | |
| void | LoadXML (xmlNode *node) |
| This is called when the subclass needs to update its values from those values in the parse tree. | |
| void | SaveXML (xmlNode *node) const |
| This is called when XMLLoadSave needs to have the subclass update values in the tree currently in memory -- may already be filled out by previous contents. | |
| void | set (const std::string &str) |
| assign a new value | |
| std::string | get () const |
| return current value as a string | |
Protected Attributes | |
| bool | val |
| the actual data storage | |
|
|
return current value as a string
Implements plist::PrimitiveBase. |
|
|
This is called when the subclass needs to update its values from those values in the parse tree. node is the current node in the tree -- it may be the root, but it may also be a subnode within the tree if a recursive structure is used Implements XMLLoadSave. |
|
|
dereference will return data storage
|
|
|
casting operator
|
|
|
can use -> to access members of data storage
|
|
|
assignment constructor
|
|
|
casting constructor
|
|
|
constructor
|
|
|
This is called when XMLLoadSave needs to have the subclass update values in the tree currently in memory -- may already be filled out by previous contents. node is the current node in the tree -- it may be the root, but it may also be a subnode within the tree if a recursive structure is used Implements XMLLoadSave. |
|
|
assign a new value
Implements plist::PrimitiveBase. |
|
|
the actual data storage
|
|
Tekkotsu v2.4 |
Generated Wed Aug 10 11:07:01 2005 by Doxygen 1.4.4 |