Free Software Foundation GPLv3 LGPL Electronic Frontier Foundation
OpenGraphtheory::XML::XML Class Reference
Inheritance diagram for OpenGraphtheory::XML::XML:
Collaboration diagram for OpenGraphtheory::XML::XML:

Public Member Functions

 XML (XML *Parent=NULL)
 XML (std::string name, XML *Parent=NULL)
void WriteToStream (std::ostream &, int level=0) const
std::list< XML * > FindChildren (std::string named) const
std::string GetAttribute (std::string propname, std::string def="") const
int GetAttributeAsInt (std::string propname, int def=0) const
float GetAttributeAsFloat (std::string propname, float def=0) const
std::string InnerText (bool TrimStrings=true) const
void AddChild (XML_Element *)
void AddAttribute (std::string name, std::string value)

Public Attributes

std::string name
std::list< std::pair< std::string, std::string > > attributes
std::list< XML_Element * > children

Additional Inherited Members

- Static Public Member Functions inherited from OpenGraphtheory::XML::XML_Element
static void WriteXmlString (std::ostream &os, std::string str)

The documentation for this class was generated from the following files:
  • sources/
  • sources/
Impressum, Datenschutzerklärung Contributors