|
solarpowerlog trunk
|
#include <CNestedCapaIterator.h>


Public Member Functions | |
| CNestedCapaIterator (IInverterBase *b, IInverterBase *parent=NULL) | |
| virtual bool | HasNext () |
| virtual pair< string, CCapability * > | GetNext () |
| virtual | ~CNestedCapaIterator () |
| CNestedCapaIterator::CNestedCapaIterator | ( | IInverterBase * | b, |
| IInverterBase * | parent = NULL |
||
| ) |
Definition at line 41 of file CNestedCapaIterator.cpp.
| CNestedCapaIterator::~CNestedCapaIterator | ( | ) | [virtual] |
Definition at line 49 of file CNestedCapaIterator.cpp.
| pair< string, CCapability * > CNestedCapaIterator::GetNext | ( | ) | [virtual] |
One could just delegate to the base class, but we want to make sure that we won't pass capas we have overriden
Reimplemented from ICapaIterator.
Definition at line 95 of file CNestedCapaIterator.cpp.
| bool CNestedCapaIterator::HasNext | ( | ) | [virtual] |
Check if we have a next capa, if not, delegate to the parent, if exists. Set also the grandparent, if necessary to recurse all the way down.
Reimplemented from ICapaIterator.
Definition at line 59 of file CNestedCapaIterator.cpp.
