BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
XML::bpmn::BPMNShape Class Reference

Detailed Description

Overview:

Members:

  • bpmndi_BPMNLabel : BPMNLabel [0..*]
  • bpmnElement : QName [0..1]
  • isHorizontal : boolean [0..1]
  • isExpanded : boolean [0..1]
  • isMarkerVisible : boolean [0..1]
  • isMessageVisible : boolean [0..1]
  • participantBandKind : ParticipantBandKind [0..1]
  • choreographyActivityShape : QName [0..1]
  • dc_Bounds : Bounds [0..*] (from: Shape)
  • extension : DiagramElement_extension [0..*] (from: DiagramElement)
  • id : ID [0..1] (from: DiagramElement)

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

Definition at line 16093 of file bpmn++.h.

#include <bpmn++.h>

Inheritance diagram for XML::bpmn::BPMNShape:

Public Attributes

std::vector< std::reference_wrapper< BPMNLabel > > bpmndi_BPMNLabel
 
std::optional< std::reference_wrapper< Attribute > > bpmnElement
 Attribute value can be expected to be of type 'std::string'.
 
std::optional< std::reference_wrapper< Attribute > > isHorizontal
 Attribute value can be expected to be of type 'bool'.
 
std::optional< std::reference_wrapper< Attribute > > isExpanded
 Attribute value can be expected to be of type 'bool'.
 
std::optional< std::reference_wrapper< Attribute > > isMarkerVisible
 Attribute value can be expected to be of type 'bool'.
 
std::optional< std::reference_wrapper< Attribute > > isMessageVisible
 Attribute value can be expected to be of type 'bool'.
 
std::optional< std::reference_wrapper< Attribute > > participantBandKind
 Attribute value can be expected to be of type 'std::string'.
 
std::optional< std::reference_wrapper< Attribute > > choreographyActivityShape
 Attribute value can be expected to be of type 'std::string'.
 
- Public Attributes inherited from XML::bpmn::Shape
std::vector< std::reference_wrapper< Bounds > > dc_Bounds
 
- Public Attributes inherited from XML::bpmn::DiagramElement
std::vector< std::reference_wrapper< DiagramElement_extension > > extension
 
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::LabeledShape
static const Attributes defaults
 default attributes to be used if they are not explicitly provided
 
- Static Public Attributes inherited from XML::bpmn::Shape
static const Attributes defaults
 default attributes to be used if they are not explicitly provided
 
- Static Public Attributes inherited from XML::bpmn::Node
static const Attributes defaults
 default attributes to be used if they are not explicitly provided
 
- Static Public Attributes inherited from XML::bpmn::DiagramElement
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

 BPMNShape (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::LabeledShape
 LabeledShape (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::Shape
 Shape (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::Node
 Node (const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
 
- Protected Member Functions inherited from XML::bpmn::DiagramElement
 DiagramElement (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)
 
 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.
 
template<typename T >
const T * is () const
 
template<typename T >
T * get ()
 Attempt to cast the current instance to the specified type T.
 
template<typename T >
const T * get () const
 Attempt to cast the current instance to the specified type T.
 
template<typename T >
std::vector< std::reference_wrapper< T > > find ()
 Find all descendants of type T.
 
template<typename T >
std::vector< std::reference_wrapper< const T > > find () const
 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 formated string representing the XMLObject including its children.
 
template<typename T >
T & getRequiredChild ()
 Get a required child of type T.
 
template<typename T >
std::optional< std::reference_wrapper< T > > getOptionalChild ()
 Get an optional child of type T.
 
template<typename T >
std::vector< std::reference_wrapper< T > > getChildren ()
 Get all children of type T.
 
XMLObjectgetRequiredChildByName (const ElementName &elementName)
 Get a required child with the specified element name.
 
std::optional< std::reference_wrapper< XMLObject > > getOptionalChildByName (const ElementName &elementName)
 Get the optional child with the specified element name.
 
std::vector< std::reference_wrapper< XMLObject > > getChildrenByName (const ElementName &elementName)
 Get all children with the specified element name.
 
AttributegetRequiredAttributeByName (const AttributeName &attributeName)
 Get a required attribute with the specified attribute name.
 
std::optional< std::reference_wrapper< Attribute > > getOptionalAttributeByName (const AttributeName &attributeName)
 Get an optional attribute with the specified attribute name.
 
virtual ~XMLObject ()
 
template<typename T >
T * is ()
 Returns a pointer of type T of the object.
 
template<typename T >
const T * is () const
 
template<typename T >
T * get ()
 Attempt to cast the current instance to the specified type T.
 
template<typename T >
const T * get () const
 Attempt to cast the current instance to the specified type T.
 
template<typename T >
std::vector< std::reference_wrapper< T > > find ()
 Find all descendants of type T.
 
template<typename T >
std::vector< std::reference_wrapper< const T > > find () const
 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 formated string representing the XMLObject including its children.
 
template<typename T >
T & getRequiredChild ()
 Get a required child of type T.
 
template<typename T >
std::optional< std::reference_wrapper< T > > getOptionalChild ()
 Get an optional child of type T.
 
template<typename T >
std::vector< std::reference_wrapper< T > > getChildren ()
 Get all children of type T.
 
XMLObjectgetRequiredChildByName (const ElementName &elementName)
 Get a required child with the specified element name.
 
std::optional< std::reference_wrapper< XMLObject > > getOptionalChildByName (const ElementName &elementName)
 Get the optional child with the specified element name.
 
std::vector< std::reference_wrapper< XMLObject > > getChildrenByName (const ElementName &elementName)
 Get all children with the specified element name.
 
AttributegetRequiredAttributeByName (const AttributeName &attributeName)
 Get a required attribute with the specified attribute name.
 
std::optional< std::reference_wrapper< Attribute > > getOptionalAttributeByName (const AttributeName &attributeName)
 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 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 XMLObjectcreateObject (const xercesc::DOMElement *element)
 
- Static Protected Attributes inherited from XML::XMLObject
static Factory factory
 

Constructor & Destructor Documentation

◆ BPMNShape()

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

Friends And Related Symbol Documentation

◆ XML::createInstance

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

Member Data Documentation

◆ bpmndi_BPMNLabel

std::vector< std::reference_wrapper<BPMNLabel> > XML::bpmn::BPMNShape::bpmndi_BPMNLabel

Definition at line 16109 of file bpmn++.h.

◆ bpmnElement

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::bpmnElement

Definition at line 16110 of file bpmn++.h.

◆ choreographyActivityShape

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::choreographyActivityShape

Definition at line 16116 of file bpmn++.h.

◆ defaults

const Attributes XML::bpmn::BPMNShape::defaults
inlinestatic
Initial value:
= {
}

Definition at line 16106 of file bpmn++.h.

◆ isExpanded

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::isExpanded

Definition at line 16112 of file bpmn++.h.

◆ isHorizontal

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::isHorizontal

Definition at line 16111 of file bpmn++.h.

◆ isMarkerVisible

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::isMarkerVisible

Definition at line 16113 of file bpmn++.h.

◆ isMessageVisible

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::isMessageVisible

Definition at line 16114 of file bpmn++.h.

◆ participantBandKind

std::optional< std::reference_wrapper<Attribute> > XML::bpmn::BPMNShape::participantBandKind

Definition at line 16115 of file bpmn++.h.


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