#include <petrinet.h>
Inheritance diagram for PNapi::Node:

Class to represent nodes (i.e. places and transitions) of Petri nets. Each node has an id and a history (i.e. the list of roles the node had during the processing of a BPEL-file).
Definition at line 148 of file petrinet.h.
Public Member Functions | |
| string | nodeFullName () const |
| the name of the node | |
| virtual | ~Node () |
| destructor | |
Public Attributes | |
| communication_type | type |
| type of node as defined in communication_type | |
Protected Member Functions | |
| bool | firstMemberAs (string role) const |
| true if first role contains role | |
| bool | firstMemberIs (string role) const |
| true if first role begins with role | |
| bool | historyContains (string role) const |
| true if history contains role | |
| string | nodeName () const |
| the name of the node | |
| virtual string | nodeShortName () const |
| the short name of the node | |
| virtual string | nodeTypeName () const |
| the name of the type | |
Protected Attributes | |
| list< string > | history |
| the set of roles (i.e. the history) of the node | |
| unsigned int | id |
| the id of the node | |
| node_type | nodeType |
| the type of the node | |
| string | prefix |
| an additional prefix for the name in order to distinguish nodes of different nets | |
| set< Node * > | preset |
| the preset of this node | |
| set< Node * > | postset |
| the postset of this node | |
| unsigned int | max_occurrences |
| the maximal occurrences of this (communication) place or transition | |
Friends | |
| class | PetriNet |
| class PetriNet is allowed to access the privates of class Node | |
| class | Arc |
| class Arc is allowed to access the privates of class Node | |
1.5.2