copasi API  0.1
Public Member Functions | Friends
CDependencyGraphNode Class Reference

#include <CDependencyGraph.h>

List of all members.

Public Member Functions

 CDependencyGraphNode ()
 ~CDependencyGraphNode ()
void addDependent (const unsigned C_INT32 &node_num)
const std::set< unsigned
C_INT32 > & 
getDependents () const

Friends

std::ostream & operator<< (std::ostream &os, const CDependencyGraphNode &d)

Detailed Description

CDependencyGraphNode describes a node in the dependency graph.


Constructor & Destructor Documentation

CDependencyGraphNode::CDependencyGraphNode ( )

Constructor

CDependencyGraphNode::~CDependencyGraphNode ( )

The destructor


Member Function Documentation

void CDependencyGraphNode::addDependent ( const unsigned C_INT32 &  node_num)

Add a dependent to the given node, represented by its node number. This then represents an edge in the graph.

Parameters:
constunsigned C_INT32 $ node_num The dependency, the node to which the edge connects.
const std::set< unsigned C_INT32 > & CDependencyGraphNode::getDependents ( ) const

Return a vector of the dependents.

Returns:
const std::set <unsigned c_int32>=""> & A vector of the dependents.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CDependencyGraphNode d 
) [friend]

insert operator


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