| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::Primitive< unsigned char > Class Template Reference#include <plistPrimitives.h>
Inheritance diagram for plist::Primitive< unsigned char >: ![]() Detailed Descriptiontemplate<>
provides an | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Primitive () | |
| constructor | |
| Primitive (const unsigned char &v, bool isNum=false) | |
| casting constructor | |
| Primitive & | operator= (const unsigned char &v) |
| assignment | |
| Primitive & | operator+= (const unsigned char &v) |
| add-assign | |
| Primitive & | operator-= (const unsigned char &v) |
| subtract-assign | |
| Primitive & | operator *= (const unsigned char &v) |
| multiple-assign | |
| Primitive & | operator/= (const unsigned char &v) |
| divide-assign | |
| const unsigned char & | operator * () const |
| dereference will return data storage | |
| const unsigned char * | operator-> () const |
| can use -> to access members of data storage | |
| operator unsigned char () const | |
| casting operator | |
| void | setNumeric (bool isNum) |
| sets numeric | |
| bool | getNumeric () const |
| returns numeric | |
| void | loadXML (xmlNode *node) |
| interprets node as a unsigned char | |
| void | saveXML (xmlNode *node) const |
| subclasses are expected to provide a working implementation | |
| void | set (const std::string &str) |
| saves val into node | |
| std::string | get () const |
| return current value as a string | |
|
virtual Primitive< unsigned char > * | clone () const __attribute__((warn_unused_result)) |
| implements the clone function for Primitive<unsigned char> | |
Protected Attributes | |
| unsigned char | val |
| data storage | |
| bool | numeric |
| if true, requests that saves store the numeric value instead of corresponding character | |
Classes | |
| struct | conversion_policy |
|
Tekkotsu v3.0 |
Generated Fri May 11 20:09:11 2007 by Doxygen 1.4.7 |