plist::ObjectBase Class Reference#include <plist.h>
Inheritance diagram for plist::ObjectBase:
[legend]List of all members.
Detailed Description
This base class provides the root functionality for all plist entities -- Dictionary and the various templated subclasses of PrimitiveBase.
The subclasses may throw std::bad_format if the document is poorly structured or bad values are found.
Definition at line 73 of file plist.h.
Member Typedef Documentation
Constructor & Destructor Documentation
plist::ObjectBase::ObjectBase |
( |
|
) |
|
|
|
constructor
Definition at line 10 of file plist.cc. |
plist::ObjectBase::~ObjectBase |
( |
|
) |
[pure virtual] |
|
|
destructor
Definition at line 14 of file plist.cc. |
Member Function Documentation
xmlNode * plist::ObjectBase::FindRootXMLElement |
( |
xmlDoc * |
doc |
) |
const [protected, virtual] |
|
|
returns the root element of the xml document
Reimplemented from XMLLoadSave.
Definition at line 26 of file plist.cc. |
void plist::ObjectBase::setParseTree |
( |
xmlDoc * |
doc |
) |
const [protected, virtual] |
|
|
assigns a parse tree which you have obtained from some other source
This doesn't update the contents of the subclass's values. The values in doc will be overwritten by those in the subclass on the next Save. If you wish to have the subclass's values updated from doc, call readParseTree() after calling this.
Reimplemented from XMLLoadSave.
Definition at line 16 of file plist.cc. |
void plist::ObjectBase::xFree |
( |
void * |
ptr |
) |
[static, protected] |
|
long plist::ObjectBase::xGetLineNo |
( |
xmlNode * |
node |
) |
[static, protected] |
|
xmlAttr * plist::ObjectBase::xHasProperty |
( |
xmlNode * |
node, |
|
|
const xChar * |
name |
|
) |
[static, protected] |
|
bool plist::ObjectBase::xNodeHasName |
( |
xmlNode * |
node, |
|
|
const char * |
name |
|
) |
[static, protected] |
|
void plist::ObjectBase::xNodeSetContent |
( |
xmlNode * |
node, |
|
|
const xChar * |
content |
|
) |
[static, protected] |
|
void plist::ObjectBase::xNodeSetName |
( |
xmlNode * |
node, |
|
|
const xChar * |
name |
|
) |
[static, protected] |
|
int plist::ObjectBase::xStrCaseEqual |
( |
const xChar * |
a, |
|
|
const xChar * |
b |
|
) |
[static, protected] |
|
int plist::ObjectBase::xStrEqual |
( |
const xChar * |
a, |
|
|
const xChar * |
b |
|
) |
[static, protected] |
|
The documentation for this class was generated from the following files:
|