PTLib
Version 2.10.4
|
#include <pxml.h>
Public Member Functions | |
PXMLObject (PXMLElement *par) | |
PXMLElement * | GetParent () const |
PXMLObject * | GetNextObject () const |
void | SetParent (PXMLElement *newParent) |
PString | AsString () const |
virtual void | Output (ostream &strm, const PXMLBase &xml, int indent) const =0 |
virtual PBoolean | IsElement () const =0 |
void | SetDirty () |
bool | IsDirty () const |
virtual PXMLObject * | Clone (PXMLElement *parent) const =0 |
Protected Attributes | |
PXMLElement * | parent |
bool | dirty |
PXMLObject::PXMLObject | ( | PXMLElement * | par | ) | [inline] |
References dirty.
PString PXMLObject::AsString | ( | ) | const |
virtual PXMLObject* PXMLObject::Clone | ( | PXMLElement * | parent | ) | const [pure virtual] |
Implemented in PXMLElement, and PXMLData.
PXMLObject* PXMLObject::GetNextObject | ( | ) | const |
PXMLElement* PXMLObject::GetParent | ( | ) | const [inline] |
References parent.
bool PXMLObject::IsDirty | ( | ) | const [inline] |
References dirty.
virtual PBoolean PXMLObject::IsElement | ( | ) | const [pure virtual] |
Implemented in PXMLElement, and PXMLData.
virtual void PXMLObject::Output | ( | ostream & | strm, |
const PXMLBase & | xml, | ||
int | indent | ||
) | const [pure virtual] |
Implemented in PXMLElement, and PXMLData.
void PXMLObject::SetDirty | ( | ) |
void PXMLObject::SetParent | ( | PXMLElement * | newParent | ) | [inline] |
bool PXMLObject::dirty [protected] |
Reimplemented in PXMLElement.
Referenced by IsDirty(), and PXMLObject().
PXMLElement* PXMLObject::parent [protected] |
Referenced by GetParent(), and SetParent().