#include <pxml.h>
PXML::PXML | ( | int | options = -1 , |
|
const char * | noIndentElements = NULL | |||
) |
PXML::PXML | ( | const PString & | data, | |
int | options = -1 , |
|||
const char * | noIndentElements = NULL | |||
) |
PXML::PXML | ( | const PXML & | xml | ) |
PXML::~PXML | ( | ) |
BOOL PXML::IsDirty | ( | ) | const |
BOOL PXML::Load | ( | const PString & | data, | |
int | options = -1 | |||
) |
BOOL PXML::StartAutoReloadURL | ( | const PURL & | url, | |
const PTimeInterval & | timeout, | |||
const PTimeInterval & | refreshTime, | |||
int | _options = -1 | |||
) |
BOOL PXML::StopAutoReloadURL | ( | ) |
PString PXML::GetAutoReloadStatus | ( | ) | [inline] |
BOOL PXML::AutoLoadURL | ( | ) |
virtual void PXML::OnAutoLoad | ( | BOOL | ok | ) | [virtual] |
BOOL PXML::LoadURL | ( | const PURL & | url | ) |
BOOL PXML::LoadURL | ( | const PURL & | url, | |
const PTimeInterval & | timeout, | |||
int | _options = -1 | |||
) |
BOOL PXML::LoadFile | ( | const PFilePath & | fn, | |
int | options = -1 | |||
) |
virtual void PXML::OnLoaded | ( | ) | [inline, virtual] |
BOOL PXML::Save | ( | int | options = -1 |
) |
BOOL PXML::Save | ( | PString & | data, | |
int | options = -1 | |||
) |
BOOL PXML::SaveFile | ( | const PFilePath & | fn, | |
int | options = -1 | |||
) |
void PXML::RemoveAll | ( | ) |
BOOL PXML::IsNoIndentElement | ( | const PString & | elementName | ) | const [virtual] |
Reimplemented from PXMLBase.
void PXML::PrintOn | ( | ostream & | strm | ) | const [virtual] |
Output the contents of the object to the stream. The exact output is dependent on the exact semantics of the descendent class. This is primarily used by the standard operator<<# function.
The default behaviour is to print the class name.
Reimplemented from PObject.
PXMLElement* PXML::GetElement | ( | const PCaselessString & | name, | |
PINDEX | idx = 0 | |||
) | const |
PXMLElement* PXML::GetElement | ( | PINDEX | idx | ) | const |
PINDEX PXML::GetNumElements | ( | ) | const |
PXMLElement* PXML::GetRootElement | ( | ) | const [inline] |
PXMLElement* PXML::SetRootElement | ( | PXMLElement * | p | ) |
PXMLElement* PXML::SetRootElement | ( | const PString & | documentType | ) |
BOOL PXML::RemoveElement | ( | PINDEX | idx | ) |
PCaselessString PXML::GetDocumentType | ( | ) | const |
PString PXML::GetErrorString | ( | ) | const [inline] |
PINDEX PXML::GetErrorColumn | ( | ) | const [inline] |
PINDEX PXML::GetErrorLine | ( | ) | const [inline] |
PString PXML::GetDocType | ( | ) | const [inline] |
void PXML::SetDocType | ( | const PString & | v | ) | [inline] |
PMutex& PXML::GetMutex | ( | ) | [inline] |
void PXML::Construct | ( | int | options, | |
const char * | noIndentElements | |||
) | [protected] |
PXMLElement* PXML::rootElement [protected] |
PMutex PXML::rootMutex [protected] |
BOOL PXML::loadFromFile [protected] |
PFilePath PXML::loadFilename [protected] |
PString PXML::version [protected] |
PString PXML::encoding [protected] |
int PXML::standAlone [protected] |
PTimer PXML::autoLoadTimer [protected] |
PURL PXML::autoloadURL [protected] |
PTimeInterval PXML::autoLoadWaitTime [protected] |
PMutex PXML::autoLoadMutex [protected] |
PString PXML::autoLoadError [protected] |
PString PXML::errorString [protected] |
PINDEX PXML::errorCol [protected] |
PINDEX PXML::errorLine [protected] |
PSortedStringList PXML::noIndentElements [protected] |
PString PXML::docType [protected] |