Yate
XmlDoctype Class Reference
Inheritance diagram for XmlDoctype:
XmlChild GenObject

Public Member Functions

 XmlDoctype (const String &doctype)
 
 XmlDoctype (const XmlDoctype &orig)
 
virtual ~XmlDoctype ()
 
const StringgetDoctype () const
 
virtual XmlDoctypexmlDoctype ()
 
void toString (String &dump, const String &indent=String::empty()) const
 
- Public Member Functions inherited from XmlChild
 XmlChild ()
 
virtual void setParent (XmlParent *parent)
 
virtual XmlElementxmlElement ()
 
virtual XmlCommentxmlComment ()
 
virtual XmlCDataxmlCData ()
 
virtual XmlTextxmlText ()
 
virtual XmlDeclarationxmlDeclaration ()
 
virtual void replaceParams (const NamedList &params)
 
- Public Member Functions inherited from GenObject
 GenObject ()
 
virtual ~GenObject ()
 
virtual bool alive () const
 
virtual void destruct ()
 
virtual const StringtoString () const
 
virtual const StringtraceId () const
 
virtual void * getObject (const String &name) const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 

Additional Inherited Members

- Static Public Member Functions inherited from GenObject
static void * getObject (const String &name, const GenObject *obj)
 
static bool getObjCounting ()
 
static void setObjCounting (bool enable)
 
static NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 

Constructor & Destructor Documentation

◆ XmlDoctype() [1/2]

XmlDoctype ( const String & doctype)

Constructor

Parameters
doctypeThe doctype

◆ XmlDoctype() [2/2]

XmlDoctype ( const XmlDoctype & orig)

Copy constructor

Parameters
origOriginal XmlDoctype

◆ ~XmlDoctype()

virtual ~XmlDoctype ( )
virtual

Destructor

Member Function Documentation

◆ getDoctype()

const String & getDoctype ( ) const
inline

Get the doctype held by this Xml doctype

Returns
The content of this Xml doctype

◆ toString()

void toString ( String & dump,
const String & indent = String::empty() ) const

Build a String from this XmlDoctype

Parameters
dumpThe string where to append representation
indentSpaces for output

◆ xmlDoctype()

virtual XmlDoctype * xmlDoctype ( )
inlinevirtual

Get the Xml doctype

Returns
This object

Reimplemented from XmlChild.


The documentation for this class was generated from the following file: