Overview:
Members:
- documentation : tDocumentation [0..*]
- extensionElements : tExtensionElements [0..1]
- id : ID [0..1]
Automatically generated by schematic++ v0.8.0 (https://github.com/rajgoel/schematicpp)
Definition at line 32 of file tBaseElement.h.
|
| virtual | ~XMLObject () |
| template<typename T, typename Self> |
| auto * | is (this Self &&self) |
| | Returns a pointer of type T of the object, const-qualified to match the receiver.
|
| template<typename T, typename Self> |
| auto * | get (this Self &&self) |
| | Attempt to cast the current instance to the specified type T.
|
| template<typename T, typename Self> |
| auto | find (this Self &&self) |
| | Find all descendants of type T.
|
| std::string | stringify () const |
| | Convert the XMLObject and its children to a string representation.
|
| std::string | format (std::string indentation="\t", unsigned int depth=0) const |
| | Creates formatted string representing the XMLObject including its children.
|
| template<typename T, typename Self> |
| auto & | getRequiredChild (this Self &&self) |
| | Get a required child of type T.
|
| template<typename T, typename Self> |
| auto | getOptionalChild (this Self &&self) |
| | Get an optional child of type T.
|
| template<typename T, typename Self> |
| auto | getChildren (this Self &&self) |
| | Get all children of type T.
|
| template<typename Self> |
| auto & | getRequiredChildByName (this Self &&self, const ElementName &name) |
| | Get a required child with the specified element name.
|
| template<typename Self> |
| auto | getOptionalChildByName (this Self &&self, const ElementName &name) |
| | Get the optional child with the specified element name.
|
| template<typename Self> |
| auto | getChildrenByName (this Self &&self, const ElementName &name) |
| | Get all children with the specified element name.
|
| template<typename Self> |
| auto & | getRequiredAttributeByName (this Self &&self, const AttributeName &name) |
| | Get a required attribute with the specified attribute name.
|
| template<typename Self> |
| auto | getOptionalAttributeByName (this Self &&self, const AttributeName &name) |
| | Get an optional attribute with the specified attribute name.
|
| static XMLObject * | createFromStream (std::istream &xmlStream) |
| | Create an XMLObject from the input stream.
|
| static XMLObject * | createFromString (const std::string &xmlString) |
| | Create an XMLObject from a string representation of XML.
|
| static XMLObject * | createFromFile (const std::string &filename) |
| | Create an XMLObject from an XML file.
|
| static XMLObject * | createObject (const xercesc::DOMElement *element) |
| static Factory | factory |