1 #ifndef XML_bpmn_tRelationship_H
2 #define XML_bpmn_tRelationship_H
7 #include "../XMLObject.h"
38 static bool registerClass() {
39 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tRelationship"] = &createInstance<tRelationship>;
42 inline static bool registered = registerClass();
53 std::vector< std::reference_wrapper<XMLObject> >
source;
54 std::vector< std::reference_wrapper<XMLObject> >
target;
56 std::optional< std::reference_wrapper<Attribute> >
direction;
A class representing a node in an XML-tree.
const ClassName className
std::vector< std::reference_wrapper< XMLObject > > source
tRelationship(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Attribute & type
Attribute value can be expected to be of type 'std::string'.
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > direction
Attribute value can be expected to be of type 'std::string'.
std::vector< std::reference_wrapper< XMLObject > > target
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
std::vector< Attribute > Attributes
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
A struct representing an attribute of an XML-node.
std::string tRelationshipDirection