| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
plist::Primitive< std::string > Class Template Reference#include <plist.h>
Inheritance diagram for plist::Primitive< std::string >: ![]() Detailed Descriptiontemplate<>
Provides a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Primitive () | |
| constructor | |
| Primitive (const std::string &v) | |
| casting constructor | |
| Primitive & | operator= (const std::string &v) |
| assignment | |
| const std::string & | operator * () const |
| dereference will return data storage as a string (for uniformity with the other Primitives, although unnecessary with this instantiation) | |
| const std::string * | operator-> () const |
| returns a pointer to this (for uniformity with the other Primitives, although unnecessary with this instantiation) | |
| 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 | |
|
|
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 as a string (for uniformity with the other Primitives, although unnecessary with this instantiation)
|
|
|
returns a pointer to this (for uniformity with the other Primitives, although unnecessary with this instantiation)
|
|
|
assignment
|
|
|
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. |
|
Tekkotsu v2.4 |
Generated Wed Aug 10 11:07:02 2005 by Doxygen 1.4.4 |