PC::Node Class Reference

#include <PowerCircuit.h>

List of all members.

Public Member Functions

 Node ()
 Node (PowerCircuit *p, int i)
bool isReduced ()
bool isDefined ()
Node clone ()
int getOrder ()
Marking getSuccessorMarking ()
bool operator== (Node n)

Public Attributes

PowerCircuitpc
int id

Detailed Description

Wrapper class for nodes in power circuits. In reality, nodes are handled by (derivatives of) the class PowerCircuit. This class is used to make handling of nodes type-safe. It contains only a pointer to the corresponding power circuit and an integer id, which is -1 if the node has not (yet) been set. If any more data is needed for a node, the power circuit class has to hold it itself. The methods call similarly-named methods of PowerCircuit.

Definition at line 89 of file PowerCircuit.h.


Constructor & Destructor Documentation

PC::Node::Node (  )  [inline]

Definition at line 95 of file PowerCircuit.h.

PC::Node::Node ( PowerCircuit p,
int  i 
) [inline]

Definition at line 96 of file PowerCircuit.h.


Member Function Documentation

Node PC::Node::clone (  ) 
int PC::Node::getOrder (  ) 
Marking PC::Node::getSuccessorMarking (  ) 
bool PC::Node::isDefined (  ) 
bool PC::Node::isReduced (  ) 
bool PC::Node::operator== ( Node  n  ) 

Member Data Documentation

Definition at line 93 of file PowerCircuit.h.

Definition at line 92 of file PowerCircuit.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:53 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1