PTLib
Version 2.10.4
|
#include <pxml.h>
Public Types | |
enum | Options { NoOptions = 0x0000, Indent = 0x0001, NewLineAfterElement = 0x0002, NoIgnoreWhiteSpace = 0x0004, CloseExtended = 0x0008, WithNS = 0x0010, FragmentOnly = 0x0020, AllOptions = 0xffff } |
enum | StandAloneType { UninitialisedStandAlone = -2, UnknownStandAlone = -1, NotStandAlone, IsStandAlone } |
Public Member Functions | |
PXMLBase (int opts=NoOptions) | |
void | SetOptions (int opts) |
int | GetOptions () const |
virtual PBoolean | IsNoIndentElement (const PString &) const |
Protected Attributes | |
int | m_options |
Friends | |
__inline friend Options | operator| (Options o1, Options o2) |
__inline friend Options | operator& (Options o1, Options o2) |
enum PXMLBase::Options |
PXMLBase::PXMLBase | ( | int | opts = NoOptions | ) | [inline] |
int PXMLBase::GetOptions | ( | ) | const [inline] |
References m_options.
virtual PBoolean PXMLBase::IsNoIndentElement | ( | const PString & | ) | const [inline, virtual] |
Reimplemented in PXML.
void PXMLBase::SetOptions | ( | int | opts | ) | [inline] |
References m_options.
int PXMLBase::m_options [protected] |
Referenced by GetOptions(), and SetOptions().