bpmn++
A BPMN parser library, written in C++
XML::bpmn::tAdHocSubProcess Class Reference

Detailed Description

Overview:

Members:

  • completionCondition : tExpression [0..1]
  • cancelRemainingInstances : boolean [0..1]
  • ordering : tAdHocOrdering [0..1]
  • laneSet : tLaneSet [0..*] (from: tSubProcess)
  • flowElement : tFlowElement [0..*] (from: tSubProcess)
  • artifact : tArtifact [0..*] (from: tSubProcess)
  • triggeredByEvent : boolean [0..1] (from: tSubProcess)
  • ioSpecification : tInputOutputSpecification [0..1] (from: tActivity)
  • property : tProperty [0..*] (from: tActivity)
  • dataInputAssociation : tDataInputAssociation [0..*] (from: tActivity)
  • dataOutputAssociation : tDataOutputAssociation [0..*] (from: tActivity)
  • resourceRole : tResourceRole [0..*] (from: tActivity)
  • loopCharacteristics : tLoopCharacteristics [0..*] (from: tActivity)
  • isForCompensation : boolean [0..1] (from: tActivity)
  • startQuantity : integer [0..1] (from: tActivity)
  • completionQuantity : integer [0..1] (from: tActivity)
  • default : IDREF [0..1] (from: tActivity)
  • incoming : QName [0..*] (from: tFlowNode)
  • outgoing : QName [0..*] (from: tFlowNode)
  • auditing : tAuditing [0..1] (from: tFlowElement)
  • monitoring : tMonitoring [0..1] (from: tFlowElement)
  • categoryValueRef : QName [0..*] (from: tFlowElement)
  • name : string [0..1] (from: tFlowElement)
  • documentation : tDocumentation [0..*] (from: tBaseElement)
  • extensionElements : tExtensionElements [0..1] (from: tBaseElement)
  • id : ID [0..1] (from: tBaseElement)

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

Definition at line 56 of file tAdHocSubProcess.h.

#include <tAdHocSubProcess.h>

Inheritance diagram for XML::bpmn::tAdHocSubProcess:

Public Attributes

std::optional< std::reference_wrapper< tExpression > > completionCondition
 
std::optional< std::reference_wrapper< Attribute > > cancelRemainingInstances
 Attribute value can be expected to be of type 'bool'. More...
 
std::optional< std::reference_wrapper< Attribute > > ordering
 Attribute value can be expected to be of type 'std::string'. More...
 
- Public Attributes inherited from XML::bpmn::tSubProcess
std::vector< std::reference_wrapper< tLaneSet > > laneSet
 
std::vector< std::reference_wrapper< tFlowElement > > flowElement
 
std::vector< std::reference_wrapper< tArtifact > > artifact
 
std::optional< std::reference_wrapper< Attribute > > triggeredByEvent
 Attribute value can be expected to be of type 'bool'. More...
 
- Public Attributes inherited from XML::bpmn::tActivity
std::optional< std::reference_wrapper< tInputOutputSpecification > > ioSpecification
 
std::vector< std::reference_wrapper< tProperty > > property
 
std::vector< std::reference_wrapper< tDataInputAssociation > > dataInputAssociation
 
std::vector< std::reference_wrapper< tDataOutputAssociation > > dataOutputAssociation
 
std::vector< std::reference_wrapper< tResourceRole > > resourceRole
 
std::vector< std::reference_wrapper< tLoopCharacteristics > > loopCharacteristics
 
std::optional< std::reference_wrapper< Attribute > > isForCompensation
 Attribute value can be expected to be of type 'bool'. More...
 
std::optional< std::reference_wrapper< Attribute > > startQuantity
 Attribute value can be expected to be of type 'int'. More...
 
std::optional< std::reference_wrapper< Attribute > > completionQuantity
 Attribute value can be expected to be of type 'int'. More...
 
std::optional< std::reference_wrapper< Attribute > > default_
 Attribute value can be expected to be of type 'std::string'. More...
 
- Public Attributes inherited from XML::bpmn::tFlowNode
std::vector< std::reference_wrapper< XMLObject > > incoming
 
std::vector< std::reference_wrapper< XMLObject > > outgoing
 
- Public Attributes inherited from XML::bpmn::tFlowElement
std::optional< std::reference_wrapper< tAuditing > > auditing
 
std::optional< std::reference_wrapper< tMonitoring > > monitoring
 
std::vector< std::reference_wrapper< XMLObject > > categoryValueRef
 
std::optional< std::reference_wrapper< Attribute > > name
 Attribute value can be expected to be of type 'std::string'. More...
 
- 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'. More...
 
- Public Attributes inherited from XML::XMLObject
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 Public Attributes

static const Attributes defaults
 default attributes to be used if they are not explicitly provided More...
 
- Static Public Attributes inherited from XML::bpmn::tSubProcess
static const Attributes defaults
 default attributes to be used if they are not explicitly provided More...
 
- Static Public Attributes inherited from XML::bpmn::tActivity
static const Attributes defaults
 default attributes to be used if they are not explicitly provided More...
 
- Static Public Attributes inherited from XML::bpmn::tFlowNode
static const Attributes defaults
 default attributes to be used if they are not explicitly provided More...
 
- Static Public Attributes inherited from XML::bpmn::tFlowElement
static const Attributes defaults
 default attributes to be used if they are not explicitly provided More...
 
- Static Public Attributes inherited from XML::bpmn::tBaseElement
static const Attributes defaults
 default attributes to be used if they are not explicitly provided More...
 
- Static Public Attributes inherited from XML::XMLObject
static const Attributes defaults = {}
 Attributes of the XML element. More...
 

Protected Member Functions

 tAdHocSubProcess (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::tSubProcess
 tSubProcess (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::tActivity
 tActivity (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::tFlowNode
 tFlowNode (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::tFlowElement
 tFlowElement (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

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 >
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...
 
XMLObjectgetRequiredChildByName (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...
 
AttributegetRequiredAttributeByName (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 Public Member Functions inherited from XML::XMLObject
static XMLObjectcreateFromStream (std::istream &xmlStream)
 Create an XMLObject from the input stream. More...
 
static XMLObjectcreateFromString (const std::string &xmlString)
 Create an XMLObject from a string representation of XML. More...
 
static XMLObjectcreateFromFile (const std::string &filename)
 Create an XMLObject from an XML file. More...
 
- 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

◆ tAdHocSubProcess()

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

Definition at line 6 of file tAdHocSubProcess.cpp.

Friends And Related Function Documentation

◆ XML::createInstance

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

Member Data Documentation

◆ cancelRemainingInstances

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tAdHocSubProcess::cancelRemainingInstances

Definition at line 78 of file tAdHocSubProcess.h.

◆ completionCondition

std::optional< std::reference_wrapper<tExpression> > XML::bpmn::tAdHocSubProcess::completionCondition

Definition at line 77 of file tAdHocSubProcess.h.

◆ defaults

const Attributes XML::bpmn::tAdHocSubProcess::defaults
inlinestatic
Initial value:
= {
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "cancelRemainingInstances", .value = Value(std::string("true"))},
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "triggeredByEvent", .value = Value(std::string("false"))},
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "isForCompensation", .value = Value(std::string("false"))},
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "startQuantity", .value = Value(std::string("1"))},
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "completionQuantity", .value = Value(std::string("1"))}
}

Definition at line 69 of file tAdHocSubProcess.h.

◆ ordering

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tAdHocSubProcess::ordering

Definition at line 79 of file tAdHocSubProcess.h.


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