bpmn++
A BPMN parser library, written in C++
|
Overview:
Members:
Automatically generated by schematic++ v0.4.0 (https://github.com/rajgoel/schematicpp)
#include <tText.h>
Static Public Attributes | |
static const Attributes | defaults |
default attributes to be used if they are not explicitly provided More... | |
![]() | |
static const Attributes | defaults = {} |
Attributes of the XML element. More... | |
Protected Member Functions | |
tText (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes) | |
![]() | |
XMLObject (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes) | |
Friends | |
class | tTextAnnotation |
template<typename T > | |
XMLObject * | XML::createInstance (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element) |
Additional Inherited Members | |
![]() | |
virtual | ~XMLObject () |
template<typename T > | |
T * | is () |
Returns a pointer of type T of the object. More... | |
template<typename T > | |
const T * | is () const |
template<typename T > | |
T * | get () |
Attempt to cast the current instance to the specified type T. More... | |
template<typename T > | |
const T * | get () const |
Attempt to cast the current instance to the specified type T. More... | |
template<typename T > | |
std::vector< std::reference_wrapper< T > > | find () |
Find all descendants of type T. More... | |
template<typename T > | |
std::vector< std::reference_wrapper< const T > > | find () const |
Find all descendants of type T. More... | |
std::string | stringify () const |
Convert the XMLObject and its children to a string representation. More... | |
std::string | format (std::string indentation="\t", unsigned int depth=0) const |
Creates formated string representing the XMLObject including its children. More... | |
template<typename T > | |
T & | getRequiredChild () |
Get a required child of type T. More... | |
template<typename T > | |
std::optional< std::reference_wrapper< T > > | getOptionalChild () |
Get an optional child of type T. More... | |
template<typename T > | |
std::vector< std::reference_wrapper< T > > | getChildren () |
Get all children of type T. More... | |
XMLObject & | getRequiredChildByName (const ElementName &elementName) |
Get a required child with the specified element name. More... | |
std::optional< std::reference_wrapper< XMLObject > > | getOptionalChildByName (const ElementName &elementName) |
Get the optional child with the specified element name. More... | |
std::vector< std::reference_wrapper< XMLObject > > | getChildrenByName (const ElementName &elementName) |
Get all children with the specified element name. More... | |
Attribute & | getRequiredAttributeByName (const AttributeName &attributeName) |
Get a required attribute with the specified attribute name. More... | |
std::optional< std::reference_wrapper< Attribute > > | getOptionalAttributeByName (const AttributeName &attributeName) |
Get an optional attribute with the specified attribute name. More... | |
![]() | |
static XMLObject * | createFromStream (std::istream &xmlStream) |
Create an XMLObject from the input stream. More... | |
static XMLObject * | createFromString (const std::string &xmlString) |
Create an XMLObject from a string representation of XML. More... | |
static XMLObject * | createFromFile (const std::string &filename) |
Create an XMLObject from an XML file. More... | |
![]() | |
Namespace | xmlns |
const ClassName | className |
Namespace | prefix |
ElementName | elementName |
TextContent | textContent |
Textual content of XML element without children. More... | |
Children | children |
Child nodes of the XML element. More... | |
Attributes | attributes |
![]() | |
static XMLObject * | createObject (const xercesc::DOMElement *element) |
![]() | |
static Factory | factory |
|
protected |
|
friend |
|
friend |
|
inlinestatic |