bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
tOperation.cpp
Go to the documentation of this file.
1#include "tOperation.h"
2
3using namespace XML;
4using namespace XML::bpmn;
5
6tOperation::tOperation(const Namespace& xmlns, const ClassName& className, const xercesc::DOMElement* element, const Attributes& defaultAttributes) :
7 tBaseElement(xmlns, className, element, defaultAttributes)
8 , inMessageRef(getRequiredChildByName("inMessageRef"))
9 , outMessageRef(getOptionalChildByName("outMessageRef"))
10 , errorRef(getChildrenByName("errorRef"))
12 , implementationRef(getOptionalAttributeByName("implementationRef"))
13{
14}
const ClassName className
Definition XMLObject.h:220
auto & getRequiredChildByName(this Self &&self, const ElementName &name)
Get a required child with the specified element name.
Definition XMLObject.h:302
auto getOptionalAttributeByName(this Self &&self, const AttributeName &name)
Get an optional attribute with the specified attribute name.
Definition XMLObject.h:373
auto getChildrenByName(this Self &&self, const ElementName &name)
Get all children with the specified element name.
Definition XMLObject.h:337
auto & getRequiredAttributeByName(this Self &&self, const AttributeName &name)
Get a required attribute with the specified attribute name.
Definition XMLObject.h:356
auto getOptionalChildByName(this Self &&self, const ElementName &name)
Get the optional child with the specified element name.
Definition XMLObject.h:319
Namespace xmlns
Definition XMLObject.h:219
tBaseElement(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
tOperation(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Definition tOperation.cpp:6
std::optional< std::reference_wrapper< XMLObject > > outMessageRef
Definition tOperation.h:52
std::optional< std::reference_wrapper< Attribute > > implementationRef
Attribute value can be expected to be of type 'std::string'.
Definition tOperation.h:55
std::vector< std::reference_wrapper< XMLObject > > errorRef
Definition tOperation.h:53
Attribute & name
Attribute value can be expected to be of type 'std::string'.
Definition tOperation.h:54
XMLObject & inMessageRef
Definition tOperation.h:51
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
The XML namespace contains classes representing XML-nodes defined in given XML-schema(s).
Definition XMLObject.cpp:9
std::string Namespace
Definition XMLObject.h:26
std::vector< Attribute > Attributes
Definition XMLObject.h:82
std::string ClassName
Definition XMLObject.h:23