PTLib  Version 2.10.4
PXMLBase Class Reference

#include <pxml.h>

Inheritance diagram for PXMLBase:
PObject PXML PXMLParser PSOAPMessage PXMLRPCBlock PXMLSettings XMPP::Stanza PXMLStreamParser XMPP::IQ XMPP::Message XMPP::Presence

List of all members.

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)

Member Enumeration Documentation

Enumerator:
NoOptions 
Indent 
NewLineAfterElement 
NoIgnoreWhiteSpace 

ignored

CloseExtended 

ignored

WithNS 
FragmentOnly 

XML fragment, not complete document.

AllOptions 
Enumerator:
UninitialisedStandAlone 
UnknownStandAlone 
NotStandAlone 
IsStandAlone 

Constructor & Destructor Documentation

PXMLBase::PXMLBase ( int  opts = NoOptions) [inline]

Member Function Documentation

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.


Friends And Related Function Documentation

__inline friend Options operator& ( Options  o1,
Options  o2 
) [friend]
__inline friend Options operator| ( Options  o1,
Options  o2 
) [friend]

Member Data Documentation

int PXMLBase::m_options [protected]

Referenced by GetOptions(), and SetOptions().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines