bpmn++
A BPMN parser library, written in C++
Loading...
Searching...
No Matches
XML::bpmn::tProcess Class Reference

Detailed Description

Overview:

Members:

  • auditing : tAuditing [0..1]
  • monitoring : tMonitoring [0..1]
  • property : tProperty [0..*]
  • laneSet : tLaneSet [0..*]
  • flowElement : tFlowElement [0..*]
  • artifact : tArtifact [0..*]
  • resourceRole : tResourceRole [0..*]
  • correlationSubscription : tCorrelationSubscription [0..*]
  • supports : QName [0..*]
  • processType : tProcessType [0..1]
  • isClosed : boolean [0..1]
  • isExecutable : boolean [0..1]
  • definitionalCollaborationRef : QName [0..1]
  • supportedInterfaceRef : QName [0..*] (from: tCallableElement)
  • ioSpecification : tInputOutputSpecification [0..1] (from: tCallableElement)
  • ioBinding : tInputOutputBinding [0..*] (from: tCallableElement)
  • name : string [0..1] (from: tCallableElement)
  • documentation : tDocumentation [0..*] (from: tBaseElement)
  • extensionElements : tExtensionElements [0..1] (from: tBaseElement)
  • id : ID [0..1] (from: tBaseElement)

Automatically generated by schematic++ v0.8.0 (https://github.com/rajgoel/schematicpp)

Definition at line 64 of file tProcess.h.

#include <tProcess.h>

Inheritance diagram for XML::bpmn::tProcess:

Public Attributes

std::optional< std::reference_wrapper< tAuditing > > auditing
std::optional< std::reference_wrapper< tMonitoring > > monitoring
std::vector< std::reference_wrapper< tProperty > > property
std::vector< std::reference_wrapper< tLaneSet > > laneSet
std::vector< std::reference_wrapper< tFlowElement > > flowElement
std::vector< std::reference_wrapper< tArtifact > > artifact
std::vector< std::reference_wrapper< tResourceRole > > resourceRole
std::vector< std::reference_wrapper< tCorrelationSubscription > > correlationSubscription
std::vector< std::reference_wrapper< XMLObject > > supports
std::optional< std::reference_wrapper< Attribute > > processType
 Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > isClosed
 Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > isExecutable
 Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< Attribute > > definitionalCollaborationRef
 Attribute value can be expected to be of type 'std::string'.
Public Attributes inherited from XML::bpmn::tCallableElement
std::vector< std::reference_wrapper< XMLObject > > supportedInterfaceRef
std::optional< std::reference_wrapper< tInputOutputSpecification > > ioSpecification
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'.
Public Attributes inherited from XML::bpmn::tBaseElement
std::vector< std::reference_wrapper< tDocumentation > > documentation
std::optional< std::reference_wrapper< tExtensionElements > > extensionElements
std::optional< std::reference_wrapper< Attribute > > id
 Attribute value can be expected to be of type 'std::string'.
Public Attributes inherited from XML::XMLObject
Namespace xmlns
const ClassName className
Namespace prefix
ElementName elementName
TextContent textContent
 Textual content of XML element without children.
Children children
 Child nodes of the XML element.
Attributes attributes

Static Public Attributes

static const Attributes defaults
 default attributes to be used if they are not explicitly provided
Static Public Attributes inherited from XML::bpmn::tCallableElement
static const Attributes defaults
 default attributes to be used if they are not explicitly provided
Static Public Attributes inherited from XML::bpmn::tRootElement
static const Attributes defaults
 default attributes to be used if they are not explicitly provided
Static Public Attributes inherited from XML::bpmn::tBaseElement
static const Attributes defaults
 default attributes to be used if they are not explicitly provided
Static Public Attributes inherited from XML::XMLObject
static const Attributes defaults = {}
 Attributes of the XML element.

Protected Member Functions

 tProcess (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Protected Member Functions inherited from XML::bpmn::tCallableElement
 tCallableElement (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Protected Member Functions inherited from XML::bpmn::tRootElement
 tRootElement (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Protected Member Functions inherited from XML::bpmn::tBaseElement
 tBaseElement (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
Protected Member Functions inherited from XML::XMLObject
 XMLObject (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)

Friends

class tDefinitions
template<typename T>
XMLObjectXML::createInstance (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)

Additional Inherited Members

Public Member Functions inherited from XML::XMLObject
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 Public Member Functions inherited from XML::XMLObject
static XMLObjectcreateFromStream (std::istream &xmlStream)
 Create an XMLObject from the input stream.
static XMLObjectcreateFromString (const std::string &xmlString)
 Create an XMLObject from a string representation of XML.
static XMLObjectcreateFromFile (const std::string &filename)
 Create an XMLObject from an XML file.
Static Protected Member Functions inherited from XML::XMLObject
static XMLObjectcreateObject (const xercesc::DOMElement *element)
Static Protected Attributes inherited from XML::XMLObject
static Factory factory

Constructor & Destructor Documentation

◆ tProcess()

tProcess::tProcess ( const Namespace & xmlns,
const ClassName & className,
const xercesc::DOMElement * element,
const Attributes & defaultAttributes )
protected

Definition at line 6 of file tProcess.cpp.

◆ tDefinitions

friend class tDefinitions
friend

Definition at line 75 of file tProcess.h.

◆ XML::createInstance

template<typename T>
XMLObject * XML::createInstance ( const Namespace & xmlns,
const ClassName & className,
const xercesc::DOMElement * element )
friend

Member Data Documentation

◆ artifact

std::vector< std::reference_wrapper<tArtifact> > XML::bpmn::tProcess::artifact

Definition at line 89 of file tProcess.h.

◆ auditing

std::optional< std::reference_wrapper<tAuditing> > XML::bpmn::tProcess::auditing

Definition at line 84 of file tProcess.h.

◆ correlationSubscription

std::vector< std::reference_wrapper<tCorrelationSubscription> > XML::bpmn::tProcess::correlationSubscription

Definition at line 91 of file tProcess.h.

◆ defaults

const Attributes XML::bpmn::tProcess::defaults
inlinestatic
Initial value:
= {
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "processType", .value = Value(std::string("None"))},
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "isClosed", .value = Value(std::string("false"))}
}
A struct representing the value of an XML-node attribute.
Definition XMLObject.h:50

Definition at line 79 of file tProcess.h.

◆ definitionalCollaborationRef

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tProcess::definitionalCollaborationRef

Definition at line 96 of file tProcess.h.

◆ flowElement

std::vector< std::reference_wrapper<tFlowElement> > XML::bpmn::tProcess::flowElement

Definition at line 88 of file tProcess.h.

◆ isClosed

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tProcess::isClosed

Definition at line 94 of file tProcess.h.

◆ isExecutable

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tProcess::isExecutable

Definition at line 95 of file tProcess.h.

◆ laneSet

std::vector< std::reference_wrapper<tLaneSet> > XML::bpmn::tProcess::laneSet

Definition at line 87 of file tProcess.h.

◆ monitoring

std::optional< std::reference_wrapper<tMonitoring> > XML::bpmn::tProcess::monitoring

Definition at line 85 of file tProcess.h.

◆ processType

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tProcess::processType

Definition at line 93 of file tProcess.h.

◆ property

std::vector< std::reference_wrapper<tProperty> > XML::bpmn::tProcess::property

Definition at line 86 of file tProcess.h.

◆ resourceRole

std::vector< std::reference_wrapper<tResourceRole> > XML::bpmn::tProcess::resourceRole

Definition at line 90 of file tProcess.h.

◆ supports

std::vector< std::reference_wrapper<XMLObject> > XML::bpmn::tProcess::supports

Definition at line 92 of file tProcess.h.


The documentation for this class was generated from the following files: