NCBI C++ ToolKit
|
Search Toolkit Book for CTypeIterator
Template class for iteration on objects of class C. More...
#include <serial/iterator.hpp>
Public Types | |
using | iterator_category = forward_iterator_tag |
using | value_type = C |
using | difference_type = ptrdiff_t |
using | pointer = C * |
using | reference = C & |
typedef CParent::TBeginInfo | TBeginInfo |
Public Types inherited from CTreeIterator | |
enum | EAction { eCont , eStop , eSkip } |
typedef CParent::TObjectInfo | TObjectInfo |
typedef CParent::TBeginInfo | TBeginInfo |
typedef EAction(* | ForEachFunc) (CTreeContNodeBase *pNode, void *user_data) |
Public Types inherited from CTreeIteratorTmpl< CTreeLevelIterator > | |
typedef LevelIterator::TObjectInfo | TObjectInfo |
typedef LevelIterator::TBeginInfo | TBeginInfo |
typedef set< TConstObjectPtr > | TVisitedObjects |
typedef list< pair< typename LevelIterator::TObjectInfo, const CItemInfo * > > | TIteratorContext |
Private Types | |
typedef CTypeIteratorBase< CTreeIterator > | CParent |
Additional Inherited Members | |
Protected Types inherited from CTypeIteratorBase< CTreeIterator > | |
typedef CParent::TBeginInfo | TBeginInfo |
Protected Member Functions inherited from CTypeIteratorBase< CTreeIterator > | |
CTypeIteratorBase (TTypeInfo needType) | |
CTypeIteratorBase (TTypeInfo needType, const TBeginInfo &beginInfo) | |
CTypeIteratorBase (TTypeInfo needType, const TBeginInfo &beginInfo, const string &filter) | |
virtual bool | CanSelect (const CConstObjectInfo &object) |
virtual bool | CanEnter (const CConstObjectInfo &object) |
TTypeInfo | GetIteratorType (void) const |
void | Assign (const CTypeIteratorBase &it) |
Protected Member Functions inherited from CTreeIteratorTmpl< CTreeLevelIterator > | |
bool | CheckValid (void) const |
void | Init (const TBeginInfo &beginInfo) |
void | Init (const TBeginInfo &beginInfo, const string &filter) |
void | Assign (const CTreeIteratorTmpl &it) |
Template class for iteration on objects of class C.
Definition at line 672 of file iterator.hpp.