COPASI API  4.40.278
CMathDependencyNodeIterator::CStackElement Class Reference

Public Member Functions

 CStackElement ()
 
 CStackElement (CMathDependencyNode *pNode, const Type &type, const CMathDependencyNode *pParent)
 
 CStackElement (const CStackElement &src)
 
 ~CStackElement ()
 

Public Attributes

std::vector< CMathDependencyNode * >::iterator mEndChild
 
std::vector< CMathDependencyNode * >::iterator mItChild
 
CMathDependencyNodempNode
 
const CMathDependencyNodempParent
 
Type mType
 

Detailed Description

An internal class managing the context of the each nesting level of the iterator

Constructor & Destructor Documentation

◆ CStackElement() [1/3]

CMathDependencyNodeIterator::CStackElement::CStackElement ( )

Default constructor

◆ CStackElement() [2/3]

CMathDependencyNodeIterator::CStackElement::CStackElement ( const CStackElement src)

Copy constructor

Parameters
constCStackElement & src

◆ CStackElement() [3/3]

CMathDependencyNodeIterator::CStackElement::CStackElement ( CMathDependencyNode pNode,
const Type type,
const CMathDependencyNode pParent 
)

◆ ~CStackElement()

CMathDependencyNodeIterator::CStackElement::~CStackElement ( )

Destructor

Member Data Documentation

◆ mEndChild

std::vector< CMathDependencyNode * >::iterator CMathDependencyNodeIterator::CStackElement::mEndChild

An iterator pointing beyond the last child.

Referenced by CStackElement(), CMathDependencyNodeIterator::increment(), and CMathDependencyNodeIterator::skipChildren().

◆ mItChild

std::vector< CMathDependencyNode * >::iterator CMathDependencyNodeIterator::CStackElement::mItChild

An iterator to the next child to be processed.

Referenced by CStackElement(), CMathDependencyNodeIterator::increment(), and CMathDependencyNodeIterator::skipChildren().

◆ mpNode

CMathDependencyNode* CMathDependencyNodeIterator::CStackElement::mpNode

The node the iterator points to in the current nesting level

Referenced by CStackElement(), and CMathDependencyNodeIterator::increment().

◆ mpParent

const CMathDependencyNode* CMathDependencyNodeIterator::CStackElement::mpParent

A pointer to the parent node of the current node if know otherwise NULL

◆ mType

Type CMathDependencyNodeIterator::CStackElement::mType

The iterator type (Dependents or Prerequisites)

Referenced by CStackElement(), and CMathDependencyNodeIterator::increment().


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