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

Detailed Description

Overview:

Members:

  • participant : tParticipant [0..*]
  • messageFlow : tMessageFlow [0..*]
  • artifact : tArtifact [0..*]
  • conversationNode : tConversationNode [0..*]
  • conversationAssociation : tConversationAssociation [0..*]
  • participantAssociation : tParticipantAssociation [0..*]
  • messageFlowAssociation : tMessageFlowAssociation [0..*]
  • correlationKey : tCorrelationKey [0..*]
  • choreographyRef : QName [0..*]
  • conversationLink : tConversationLink [0..*]
  • name : string [0..1]
  • isClosed : boolean [0..1]
  • 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 59 of file tCollaboration.h.

#include <tCollaboration.h>

Inheritance diagram for XML::bpmn::tCollaboration:

Public Attributes

std::vector< std::reference_wrapper< tParticipant > > participant
 
std::vector< std::reference_wrapper< tMessageFlow > > messageFlow
 
std::vector< std::reference_wrapper< tArtifact > > artifact
 
std::vector< std::reference_wrapper< tConversationNode > > conversationNode
 
std::vector< std::reference_wrapper< tConversationAssociation > > conversationAssociation
 
std::vector< std::reference_wrapper< tParticipantAssociation > > participantAssociation
 
std::vector< std::reference_wrapper< tMessageFlowAssociation > > messageFlowAssociation
 
std::vector< std::reference_wrapper< tCorrelationKey > > correlationKey
 
std::vector< std::reference_wrapper< XMLObject > > choreographyRef
 
std::vector< std::reference_wrapper< tConversationLink > > conversationLink
 
std::optional< std::reference_wrapper< Attribute > > name
 Attribute value can be expected to be of type 'std::string'. More...
 
std::optional< std::reference_wrapper< Attribute > > isClosed
 Attribute value can be expected to be of type 'bool'. 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::tRootElement
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

 tCollaboration (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

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

◆ tCollaboration()

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

Definition at line 6 of file tCollaboration.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

◆ artifact

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

Definition at line 78 of file tCollaboration.h.

◆ choreographyRef

std::vector< std::reference_wrapper<XMLObject> > XML::bpmn::tCollaboration::choreographyRef

Definition at line 84 of file tCollaboration.h.

◆ conversationAssociation

std::vector< std::reference_wrapper<tConversationAssociation> > XML::bpmn::tCollaboration::conversationAssociation

Definition at line 80 of file tCollaboration.h.

◆ conversationLink

std::vector< std::reference_wrapper<tConversationLink> > XML::bpmn::tCollaboration::conversationLink

Definition at line 85 of file tCollaboration.h.

◆ conversationNode

std::vector< std::reference_wrapper<tConversationNode> > XML::bpmn::tCollaboration::conversationNode

Definition at line 79 of file tCollaboration.h.

◆ correlationKey

std::vector< std::reference_wrapper<tCorrelationKey> > XML::bpmn::tCollaboration::correlationKey

Definition at line 83 of file tCollaboration.h.

◆ defaults

const Attributes XML::bpmn::tCollaboration::defaults
inlinestatic
Initial value:
= {
{ .xmlns = "http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix = "" , .name = "isClosed", .value = Value(std::string("false"))}
}

Definition at line 72 of file tCollaboration.h.

◆ isClosed

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

Definition at line 87 of file tCollaboration.h.

◆ messageFlow

std::vector< std::reference_wrapper<tMessageFlow> > XML::bpmn::tCollaboration::messageFlow

Definition at line 77 of file tCollaboration.h.

◆ messageFlowAssociation

std::vector< std::reference_wrapper<tMessageFlowAssociation> > XML::bpmn::tCollaboration::messageFlowAssociation

Definition at line 82 of file tCollaboration.h.

◆ name

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::tCollaboration::name

Definition at line 86 of file tCollaboration.h.

◆ participant

std::vector< std::reference_wrapper<tParticipant> > XML::bpmn::tCollaboration::participant

Definition at line 76 of file tCollaboration.h.

◆ participantAssociation

std::vector< std::reference_wrapper<tParticipantAssociation> > XML::bpmn::tCollaboration::participantAssociation

Definition at line 81 of file tCollaboration.h.


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