| Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::Primitive< char > Class Template Reference#include <plist.h>
Inheritance diagram for plist::Primitive< char >: ![]() Detailed Descriptiontemplate<>
provides a | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Primitive () | |
| constructor | |
| Primitive (const char &v, bool isNum=false) | |
| casting constructor | |
| Primitive & | operator= (const char &v) |
| assignment | |
| Primitive & | operator+= (const char &v) |
| add-assign | |
| Primitive & | operator-= (const char &v) |
| subtract-assign | |
| Primitive & | operator *= (const char &v) |
| multiply-assign | |
| Primitive & | operator/= (const char &v) |
| divide-assign | |
| const char & | operator * () const |
| dereference will return data storage | |
| const char * | operator-> () const |
| can use -> to access members of data storage | |
| operator char () const | |
| casting operator | |
| void | setNumeric (bool isNum) |
| sets numeric | |
| bool | getNumeric () const |
| returns numeric | |
| 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 | |
| char | val |
| data storage | |
| bool | numeric |
| if true, requests that saves store the numeric value instead of corresponding character | |
|
|
return current value as a string
Implements plist::PrimitiveBase. |
|
|
returns numeric
|
|
|
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
|
|
|
multiply-assign
|
|
|
casting operator
|
|
|
add-assign
|
|
|
subtract-assign
|
|
|
can use -> to access members of data storage
|
|
|
divide-assign
|
|
|
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. |
|
|
sets numeric
|
|
|
if true, requests that saves store the numeric value instead of corresponding character
|
|
|
data storage
|
|
Tekkotsu v2.4.1 |
Generated Tue Aug 16 16:35:14 2005 by Doxygen 1.4.4 |