DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <EdgeData.hh>
Public Types | |
typedef Diades::Utils::Exception< EdgeData > | Exception |
typedef vector< EdgeData * >::size_type | SizeType |
typedef vector< Edge >::size_type | EdgeId |
Public Member Functions | |
EdgeData () | |
EdgeData (EdgeId idt, NodeData *s, NodeData *t) | |
~EdgeData () | |
void | setSourcePos (list< Edge >::iterator sourcePos) |
void | setTargetPos (list< Edge >::iterator targetPos) |
SizeType | memoryUsage () const |
string | details () const |
Static Public Member Functions | |
static string | typeName () |
Private Attributes | |
SizeType | _identifier |
NodeData * | _source |
identifier of the Edge More... | |
NodeData * | _target |
pointer to the NodeData source of the Edge More... | |
list< Edge >::iterator | _sourcePos |
pointer to the NodeData source of the Edge More... | |
list< Edge >::iterator | _targetPos |
position of the Edge in the list of Edge associated with the source Node More... | |
Friends | |
class | Graph |
position of the Edge in the list of Edge associated with the source Node More... | |
class | Edge |
EdgeData is a friend class of Edge. More... | |
class | NodeData |
EdgeData is a friend class of NodeData. More... | |
Data of an Edge. An Edge is a reference to an EdgeData. The EdgeData structure is allocated and managed in the Graph. The user do not have to use this class explicitly.
Definition at line 29 of file EdgeData.hh.
typedef vector<Edge>::size_type Diades::Graph::EdgeData::EdgeId |
Definition at line 40 of file EdgeData.hh.
typedef Diades::Utils::Exception<EdgeData> Diades::Graph::EdgeData::Exception |
Definition at line 35 of file EdgeData.hh.
typedef vector<EdgeData *>::size_type Diades::Graph::EdgeData::SizeType |
Definition at line 39 of file EdgeData.hh.
|
inline |
Default constructor
Definition at line 47 of file EdgeData.hh.
Referenced by Diades::Graph::Edge::create(), and memoryUsage().
|
inline |
Destructor
Definition at line 69 of file EdgeData.hh.
|
inline |
Definition at line 24 of file EdgeImpl.hh.
References _identifier, _source, and _target.
Referenced by memoryUsage().
|
inline |
Size of a transData
Definition at line 93 of file EdgeData.hh.
References details(), and EdgeData().
|
inline |
Definition at line 76 of file EdgeData.hh.
References _sourcePos.
|
inline |
Definition at line 86 of file EdgeData.hh.
References _targetPos.
|
inlinestatic |
Definition at line 32 of file EdgeData.hh.
|
friend |
EdgeData is a friend class of Edge.
Definition at line 118 of file EdgeData.hh.
|
friend |
|
friend |
EdgeData is a friend class of NodeData.
Definition at line 120 of file EdgeData.hh.
|
private |
Definition at line 104 of file EdgeData.hh.
Referenced by details(), and Diades::Graph::Edge::id().
|
mutableprivate |
identifier of the Edge
Definition at line 106 of file EdgeData.hh.
Referenced by Diades::Graph::Edge::destroy(), details(), Diades::Graph::Graph::source(), and Diades::Graph::Graph::sourceRef().
|
private |
pointer to the NodeData source of the Edge
Definition at line 110 of file EdgeData.hh.
Referenced by Diades::Graph::NodeData::delOutEdge(), setSourcePos(), and Diades::Graph::Edge::sourcePos().
|
mutableprivate |
pointer to the NodeData source of the Edge
Definition at line 108 of file EdgeData.hh.
Referenced by Diades::Graph::Edge::destroy(), details(), Diades::Graph::Graph::source(), and Diades::Graph::Graph::sourceRef().
|
private |
position of the Edge in the list of Edge associated with the source Node
Definition at line 112 of file EdgeData.hh.
Referenced by Diades::Graph::NodeData::delInEdge(), setTargetPos(), and Diades::Graph::Edge::targetPos().