1 #ifndef XML_bpmn_tCallableElement_H
2 #define XML_bpmn_tCallableElement_H
7 #include "../XMLObject.h"
17 class tInputOutputSpecification;
18 class tInputOutputBinding;
40 static bool registerClass() {
41 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tCallableElement"] = &createInstance<tCallableElement>;
44 inline static bool registered = registerClass();
54 std::optional< std::reference_wrapper<tInputOutputSpecification> >
ioSpecification;
55 std::vector< std::reference_wrapper<tInputOutputBinding> >
ioBinding;
56 std::optional< std::reference_wrapper<Attribute> >
name;
A class representing a node in an XML-tree.
const ClassName className
std::optional< std::reference_wrapper< tInputOutputSpecification > > ioSpecification
std::vector< std::reference_wrapper< XMLObject > > supportedInterfaceRef
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::vector< std::reference_wrapper< tInputOutputBinding > > ioBinding
std::optional< std::reference_wrapper< Attribute > > name
Attribute value can be expected to be of type 'std::string'.
tCallableElement(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
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.