NCBI C++ ToolKit
Classes | Typedefs | Enumerations | Enumerator | Functions | Variables | Friends
Object Hierarchy Iterator
+ Collaboration diagram for Object Hierarchy Iterator:

Classes

class  CTypesIteratorBase< Parent >
 Template base class for CTypesIterator and CTypesConstIterator Do not use it directly. More...
 
class  CTreeIteratorTmpl< LevelIterator >
 Base class for all iterators over non-modifiable object Do not use it directly. More...
 
class  CType_Base
 
class  CType< C >
 
class  CBeginInfo
 Class holding information about root of non-modifiable object hierarchy Do not use it directly. More...
 
class  CConstBeginInfo
 Class holding information about root of non-modifiable object hierarchy Do not use it directly. More...
 
class  CConstTreeLevelIterator
 Class describing stack level of traversal. More...
 
class  CTreeLevelIterator
 
class  CTreeIterator
 Base class for all iterators over modifiable object. More...
 
class  CTypeIteratorBase< Parent >
 template base class for CTypeIterator<> and CTypeConstIterator<> Do not use it directly More...
 
class  CTypeIterator< C, TypeGetter >
 Template class for iteration on objects of class C. More...
 
class  CTypeConstIterator< C, TypeGetter >
 Template class for iteration on objects of class C (non-medifiable version) More...
 
class  CObjectGetTypeInfo
 

Typedefs

typedef CTypesIteratorBase< CTreeIteratorCType_Base::CTypesIterator
 
typedef CTreeIteratorTmpl< CConstTreeLevelIteratorCType_Base::CTreeConstIterator
 
typedef CTypesIteratorBase< CTreeConstIteratorCType_Base::CTypesConstIterator
 
typedef CType_Base CType< C >::CParent
 
typedef CParent::CTypesIterator CType< C >::CTypesIterator
 
typedef CParent::CTypesConstIterator CType< C >::CTypesConstIterator
 
typedef pair< TObjectPtr, TTypeInfoCBeginInfo::CParent
 
typedef CObjectInfo CBeginInfo::TObjectInfo
 
typedef pair< TConstObjectPtr, TTypeInfoCConstBeginInfo::CParent
 
typedef CConstObjectInfo CConstBeginInfo::TObjectInfo
 
typedef CConstBeginInfo CConstTreeLevelIterator::TBeginInfo
 
typedef TBeginInfo::TObjectInfo CConstTreeLevelIterator::TObjectInfo
 
typedef CBeginInfo CTreeLevelIterator::TBeginInfo
 
typedef TBeginInfo::TObjectInfo CTreeLevelIterator::TObjectInfo
 
typedef CTreeIteratorTmpl< LevelIterator > CTreeIteratorTmpl< LevelIterator >::TThis
 
typedef shared_ptr< LevelIterator > CTreeIteratorTmpl< LevelIterator >::TStackLevel
 
typedef LevelIterator::TObjectInfo CTreeIteratorTmpl< LevelIterator >::TObjectInfo
 
typedef LevelIterator::TBeginInfo CTreeIteratorTmpl< LevelIterator >::TBeginInfo
 
typedef set< TConstObjectPtrCTreeIteratorTmpl< LevelIterator >::TVisitedObjects
 
typedef list< pair< typename LevelIterator::TObjectInfo, const CItemInfo * > > CTreeIteratorTmpl< LevelIterator >::TIteratorContext
 
typedef CTreeIteratorTmpl< CConstTreeLevelIteratorCTreeConstIterator
 
typedef CTreeIteratorTmpl< CTreeLevelIteratorCTreeIterator::CParent
 
typedef CParent::TObjectInfo CTreeIterator::TObjectInfo
 
typedef CParent::TBeginInfo CTreeIterator::TBeginInfo
 
typedef Parent CTypeIteratorBase< Parent >::CParent
 
typedef CParent::TBeginInfo CTypeIteratorBase< Parent >::TBeginInfo
 
typedef Parent CTypesIteratorBase< Parent >::CParent
 
typedef CParent::TBeginInfo CTypesIteratorBase< Parent >::TBeginInfo
 
typedef list< TTypeInfoCTypesIteratorBase< Parent >::TTypeList
 
typedef CTypeIteratorBase< CTreeIteratorCTypeIterator< C, TypeGetter >::CParent
 
using CTypeIterator< C, TypeGetter >::iterator_category = forward_iterator_tag
 
using CTypeIterator< C, TypeGetter >::value_type = C
 
using CTypeIterator< C, TypeGetter >::difference_type = ptrdiff_t
 
using CTypeIterator< C, TypeGetter >::pointer = C *
 
using CTypeIterator< C, TypeGetter >::reference = C &
 
typedef CParent::TBeginInfo CTypeIterator< C, TypeGetter >::TBeginInfo
 
typedef CTypeIteratorBase< CTreeConstIteratorCTypeConstIterator< C, TypeGetter >::CParent
 
using CTypeConstIterator< C, TypeGetter >::iterator_category = forward_iterator_tag
 
using CTypeConstIterator< C, TypeGetter >::value_type = C
 
using CTypeConstIterator< C, TypeGetter >::difference_type = ptrdiff_t
 
using CTypeConstIterator< C, TypeGetter >::pointer = C *
 
using CTypeConstIterator< C, TypeGetter >::reference = C &
 
typedef CParent::TBeginInfo CTypeConstIterator< C, TypeGetter >::TBeginInfo
 
template<typename T >
using CStdTypeIterator = CTypeIterator< T, CStdTypeInfo< T > >
 Template class for iteration on objects of standard C++ type T. More...
 
template<typename T >
using CStdTypeConstIterator = CTypeConstIterator< T, CStdTypeInfo< T > >
 Non-modifiable version. More...
 
typedef CTypeIterator< CObject, CObjectGetTypeInfoCObjectIterator
 
typedef CTypeConstIterator< CObject, CObjectGetTypeInfoCObjectConstIterator
 
typedef CTypesIteratorBase< CTreeIteratorCTypesIterator
 
typedef CTypesIteratorBase< CTreeConstIteratorCTypesConstIterator
 

Enumerations

enum  EDetectLoops { eDetectLoops }
 

Functions

static bool CType_Base::Match (const CObjectTypeInfo &type, TTypeInfo typeInfo)
 
static bool CType_Base::Match (const CTypesIterator &it, TTypeInfo typeInfo)
 
static bool CType_Base::Match (const CTypesConstIterator &it, TTypeInfo typeInfo)
 
static void CType_Base::AddTo (CTypesIterator &it, TTypeInfo typeInfo)
 
static void CType_Base::AddTo (CTypesConstIterator &it, TTypeInfo typeInfo)
 
static TObjectPtr CType_Base::GetObjectPtr (const CTypesIterator &it)
 
static TConstObjectPtr CType_Base::GetObjectPtr (const CTypesConstIterator &it)
 
static TObjectPtr CType_Base::GetParentObjectPtr (CObjectIStream &in, TTypeInfo typeInfo, size_t max_depth, size_t min_depth)
 
static TTypeInfo CType< C >::GetTypeInfo (void)
 
 CType< C >::operator CObjectTypeInfo (void) const
 
static void CType< C >::AddTo (CTypesIterator &it)
 
static void CType< C >::AddTo (CTypesConstIterator &it)
 
static bool CType< C >::Match (const CObjectTypeInfo &type)
 
static bool CType< C >::Match (const CTypesIterator &it)
 
static bool CType< C >::Match (const CTypesConstIterator &it)
 
static CCType< C >::Get (const CTypesIterator &it)
 
static const CCType< C >::Get (const CTypesConstIterator &it)
 
static CCType< C >::GetUnchecked (const CObjectInfo &object)
 
static const CCType< C >::GetUnchecked (const CConstObjectInfo &object)
 
static CCType< C >::Get (const CObjectInfo &object)
 
static const CCType< C >::Get (const CConstObjectInfo &object)
 
static CCType< C >::GetParent (CObjectIStream &in, size_t max_depth=1, size_t min_depth=1)
 
 CBeginInfo::CBeginInfo (TObjectPtr objectPtr, TTypeInfo typeInfo, bool detectLoops=false)
 
 CBeginInfo::CBeginInfo (const CObjectInfo &object, bool detectLoops=false)
 
 CBeginInfo::CBeginInfo (CSerialObject &object, bool detectLoops=false)
 
 CConstBeginInfo::CConstBeginInfo (TConstObjectPtr objectPtr, TTypeInfo typeInfo, bool detectLoops=false)
 
 CConstBeginInfo::CConstBeginInfo (const CConstObjectInfo &object, bool detectLoops=false)
 
 CConstBeginInfo::CConstBeginInfo (const CSerialObject &object, bool detectLoops=false)
 
 CConstBeginInfo::CConstBeginInfo (const CBeginInfo &beginInfo)
 
virtual CConstTreeLevelIterator::~CConstTreeLevelIterator (void)
 
virtual bool CConstTreeLevelIterator::Valid (void) const =0
 
virtual TMemberIndex CConstTreeLevelIterator::GetIndex (void) const
 
virtual void CConstTreeLevelIterator::Next (void)=0
 
virtual bool CConstTreeLevelIterator::CanGet (void) const
 
virtual TObjectInfo CConstTreeLevelIterator::Get (void) const =0
 
virtual const CItemInfoCConstTreeLevelIterator::GetItemInfo (void) const =0
 
virtual CConstTreeLevelIteratorCConstTreeLevelIterator::Clone (void)=0
 
static CConstTreeLevelIteratorCConstTreeLevelIterator::Create (const TObjectInfo &object)
 
static CConstTreeLevelIteratorCConstTreeLevelIterator::CreateOne (const TObjectInfo &object)
 
static bool CConstTreeLevelIterator::HaveChildren (const CConstObjectInfo &object)
 
virtual void CConstTreeLevelIterator::SetItemInfo (const CItemInfo *info)=0
 
virtual CTreeLevelIterator::~CTreeLevelIterator (void)
 
virtual bool CTreeLevelIterator::Valid (void) const =0
 
virtual TMemberIndex CTreeLevelIterator::GetIndex (void) const
 
virtual void CTreeLevelIterator::Next (void)=0
 
virtual bool CTreeLevelIterator::CanGet (void) const
 
virtual TObjectInfo CTreeLevelIterator::Get (void) const =0
 
virtual const CItemInfoCTreeLevelIterator::GetItemInfo (void) const =0
 
virtual CTreeLevelIteratorCTreeLevelIterator::Clone (void)=0
 
static CTreeLevelIteratorCTreeLevelIterator::Create (const TObjectInfo &object)
 
static CTreeLevelIteratorCTreeLevelIterator::CreateOne (const TObjectInfo &object)
 
virtual void CTreeLevelIterator::Erase (void)
 
virtual void CTreeLevelIterator::SetItemInfo (const CItemInfo *info)=0
 
 CTreeIteratorTmpl< LevelIterator >::CTreeIteratorTmpl (void)
 
 CTreeIteratorTmpl< LevelIterator >::CTreeIteratorTmpl (const TBeginInfo &beginInfo)
 
 CTreeIteratorTmpl< LevelIterator >::CTreeIteratorTmpl (const TBeginInfo &beginInfo, const string &filter)
 
virtual CTreeIteratorTmpl< LevelIterator >::~CTreeIteratorTmpl (void)
 
TObjectInfoCTreeIteratorTmpl< LevelIterator >::Get (void)
 Get information about current object. More...
 
const TObjectInfoCTreeIteratorTmpl< LevelIterator >::Get (void) const
 Get information about current object. More...
 
TTypeInfo CTreeIteratorTmpl< LevelIterator >::GetCurrentTypeInfo (void) const
 Get type information of current object. More...
 
void CTreeIteratorTmpl< LevelIterator >::Reset (void)
 Reset iterator to initial state. More...
 
void CTreeIteratorTmpl< LevelIterator >::Next (void)
 
void CTreeIteratorTmpl< LevelIterator >::SkipSubTree (void)
 
bool CTreeIteratorTmpl< LevelIterator >::IsValid (void) const
 
 CTreeIteratorTmpl< LevelIterator >::DECLARE_OPERATOR_BOOL (IsValid())
 
TThisCTreeIteratorTmpl< LevelIterator >::operator++ (void)
 Go to next object. More...
 
TThisCTreeIteratorTmpl< LevelIterator >::operator= (const TBeginInfo &beginInfo)
 Initialize iterator to new root of object hierarchy. More...
 
TIteratorContext CTreeIteratorTmpl< LevelIterator >::GetContextData (void) const
 Get raw context data. More...
 
string CTreeIteratorTmpl< LevelIterator >::GetContext (void) const
 Get context data as string. More...
 
bool CTreeIteratorTmpl< LevelIterator >::MatchesContext (const string &filter) const
 Check context against filter. More...
 
void CTreeIteratorTmpl< LevelIterator >::SetContextFilter (const string &filter)
 Set context filter. More...
 
int CTreeIteratorTmpl< LevelIterator >::GetContainerElementIndex (void) const
 Return element index in STL container. More...
 
int CTreeIteratorTmpl< LevelIterator >::GetItemIndex (void) const
 Return member index in sequence, or variant index in choice. More...
 
bool CTreeIteratorTmpl< LevelIterator >::CheckValid (void) const
 
virtual bool CTreeIteratorTmpl< LevelIterator >::CanSelect (const CConstObjectInfo &obj)
 
virtual bool CTreeIteratorTmpl< LevelIterator >::CanEnter (const CConstObjectInfo &object)
 
void CTreeIteratorTmpl< LevelIterator >::Init (const TBeginInfo &beginInfo)
 
void CTreeIteratorTmpl< LevelIterator >::Init (const TBeginInfo &beginInfo, const string &filter)
 
bool CTreeIteratorTmpl< LevelIterator >::Step (const TObjectInfo &current)
 
void CTreeIteratorTmpl< LevelIterator >::Walk (void)
 
void CTreeIteratorTmpl< LevelIterator >::Assign (const CTreeIteratorTmpl &it)
 
 CTreeIterator::CTreeIterator (void)
 
 CTreeIterator::CTreeIterator (const TBeginInfo &beginInfo)
 
 CTreeIterator::CTreeIterator (const TBeginInfo &beginInfo, const string &filter)
 
CTreeIteratorCTreeIterator::operator= (const TBeginInfo &beginInfo)
 
void CTreeIterator::Erase (void)
 Delete currently pointed object (throws exception if failed) More...
 
 CTypeIteratorBase< Parent >::CTypeIteratorBase (TTypeInfo needType)
 
 CTypeIteratorBase< Parent >::CTypeIteratorBase (TTypeInfo needType, const TBeginInfo &beginInfo)
 
 CTypeIteratorBase< Parent >::CTypeIteratorBase (TTypeInfo needType, const TBeginInfo &beginInfo, const string &filter)
 
virtual bool CTypeIteratorBase< Parent >::CanSelect (const CConstObjectInfo &object)
 
virtual bool CTypeIteratorBase< Parent >::CanEnter (const CConstObjectInfo &object)
 
TTypeInfo CTypeIteratorBase< Parent >::GetIteratorType (void) const
 
void CTypeIteratorBase< Parent >::Assign (const CTypeIteratorBase &it)
 
 CTypesIteratorBase< Parent >::CTypesIteratorBase (void)
 
 CTypesIteratorBase< Parent >::CTypesIteratorBase (TTypeInfo type)
 
 CTypesIteratorBase< Parent >::CTypesIteratorBase (TTypeInfo type1, TTypeInfo type2)
 
 CTypesIteratorBase< Parent >::CTypesIteratorBase (const TTypeList &typeList)
 
 CTypesIteratorBase< Parent >::CTypesIteratorBase (const TTypeList &typeList, const TBeginInfo &beginInfo)
 
 CTypesIteratorBase< Parent >::CTypesIteratorBase (const TTypeList &typeList, const TBeginInfo &beginInfo, const string &filter)
 
const TTypeListCTypesIteratorBase< Parent >::GetTypeList (void) const
 
CTypesIteratorBase< Parent > & CTypesIteratorBase< Parent >::AddType (TTypeInfo type)
 
CTypesIteratorBase< Parent > & CTypesIteratorBase< Parent >::operator= (const TBeginInfo &beginInfo)
 
CParent::TObjectInfo::TObjectPtrType CTypesIteratorBase< Parent >::GetFoundPtr (void) const
 
TTypeInfo CTypesIteratorBase< Parent >::GetFoundType (void) const
 
TTypeInfo CTypesIteratorBase< Parent >::GetMatchType (void) const
 
virtual bool CTypesIteratorBase< Parent >::CanSelect (const CConstObjectInfo &object)
 
virtual bool CTypesIteratorBase< Parent >::CanEnter (const CConstObjectInfo &object)
 
 CTypeIterator< C, TypeGetter >::CTypeIterator (void)
 
 CTypeIterator< C, TypeGetter >::CTypeIterator (const TBeginInfo &beginInfo)
 
 CTypeIterator< C, TypeGetter >::CTypeIterator (const TBeginInfo &beginInfo, const string &filter)
 
 CTypeIterator< C, TypeGetter >::CTypeIterator (CSerialObject &object)
 
CTypeIterator< C, TypeGetter > & CTypeIterator< C, TypeGetter >::operator= (const TBeginInfo &beginInfo)
 
CCTypeIterator< C, TypeGetter >::operator* (void)
 
const CCTypeIterator< C, TypeGetter >::operator* (void) const
 
CCTypeIterator< C, TypeGetter >::operator-> (void)
 
const CCTypeIterator< C, TypeGetter >::operator-> (void) const
 
 CTypeIterator< C, TypeGetter >::CTypeIterator (const CTypeIterator &it)
 
CTypeIteratorCTypeIterator< C, TypeGetter >::operator= (const CTypeIterator &it)
 
CTypeIteratorCTypeIterator< C, TypeGetter >::begin (void)
 
CTypeIterator CTypeIterator< C, TypeGetter >::end (void)
 
CTypeIteratorCTypeIterator< C, TypeGetter >::operator++ (void)
 
CTypeIterator CTypeIterator< C, TypeGetter >::operator++ (int)
 
bool CTypeIterator< C, TypeGetter >::operator== (const CTypeIterator &it) const
 
bool CTypeIterator< C, TypeGetter >::operator!= (const CTypeIterator &it) const
 
 CTypeConstIterator< C, TypeGetter >::CTypeConstIterator (void)
 
 CTypeConstIterator< C, TypeGetter >::CTypeConstIterator (const TBeginInfo &beginInfo)
 
 CTypeConstIterator< C, TypeGetter >::CTypeConstIterator (const TBeginInfo &beginInfo, const string &filter)
 
 CTypeConstIterator< C, TypeGetter >::CTypeConstIterator (const CSerialObject &object)
 
CTypeConstIterator< C, TypeGetter > & CTypeConstIterator< C, TypeGetter >::operator= (const TBeginInfo &beginInfo)
 
const CCTypeConstIterator< C, TypeGetter >::operator* (void) const
 
const CCTypeConstIterator< C, TypeGetter >::operator-> (void) const
 
 CTypeConstIterator< C, TypeGetter >::CTypeConstIterator (const CTypeConstIterator &it)
 
CTypeConstIteratorCTypeConstIterator< C, TypeGetter >::operator= (const CTypeConstIterator &it)
 
CTypeConstIteratorCTypeConstIterator< C, TypeGetter >::begin (void)
 
CTypeConstIterator CTypeConstIterator< C, TypeGetter >::end (void)
 
CTypeConstIteratorCTypeConstIterator< C, TypeGetter >::operator++ (void)
 
CTypeConstIterator CTypeConstIterator< C, TypeGetter >::operator++ (int)
 
bool CTypeConstIterator< C, TypeGetter >::operator== (const CTypeConstIterator &it) const
 
bool CTypeConstIterator< C, TypeGetter >::operator!= (const CTypeConstIterator &it) const
 
static TTypeInfo CObjectGetTypeInfo::GetTypeInfo (void)
 
template<class C >
CBeginInfo Begin (C &obj)
 Get starting point of object hierarchy. More...
 
template<class C >
CConstBeginInfo ConstBegin (const C &obj)
 Get starting point of non-modifiable object hierarchy. More...
 
template<class C >
CConstBeginInfo Begin (const C &obj)
 
template<class C >
CBeginInfo Begin (C &obj, EDetectLoops)
 Get starting point of object hierarchy with loop detection. More...
 
template<class C >
CConstBeginInfo ConstBegin (const C &obj, EDetectLoops)
 Get starting point of non-modifiable object hierarchy with loop detection. More...
 
template<class C >
CConstBeginInfo Begin (const C &obj, EDetectLoops)
 

Variables

bool CBeginInfo::m_DetectLoops
 
bool CConstBeginInfo::m_DetectLoops
 
vector< TStackLevelCTreeIteratorTmpl< LevelIterator >::m_Stack
 
TObjectInfo CTreeIteratorTmpl< LevelIterator >::m_CurrentObject
 
shared_ptr< TVisitedObjectsCTreeIteratorTmpl< LevelIterator >::m_VisitedObjects
 
string CTreeIteratorTmpl< LevelIterator >::m_ContextFilter
 
TTypeInfo CTypeIteratorBase< Parent >::m_NeedType
 
TTypeList CTypesIteratorBase< Parent >::m_TypeList
 
TTypeInfo CTypesIteratorBase< Parent >::m_MatchType
 

Friends

class CTreeIteratorTmpl< LevelIterator >::CTreeIterator
 

Detailed Description

Typedef Documentation

◆ CObjectConstIterator

Definition at line 989 of file iterator.hpp.

◆ CObjectIterator

Definition at line 986 of file iterator.hpp.

◆ CParent [1/8]

template<class C >
typedef CType_Base CType< C >::CParent
private

Definition at line 80 of file objecttype.hpp.

◆ CParent [2/8]

typedef pair<TObjectPtr, TTypeInfo> CBeginInfo::CParent
private

Definition at line 59 of file iterator.hpp.

◆ CParent [3/8]

Definition at line 87 of file iterator.hpp.

◆ CParent [4/8]

Definition at line 481 of file iterator.hpp.

◆ CParent [5/8]

template<class Parent >
typedef Parent CTypeIteratorBase< Parent >::CParent
private

Definition at line 515 of file iterator.hpp.

◆ CParent [6/8]

template<class Parent >
typedef Parent CTypesIteratorBase< Parent >::CParent
private

Definition at line 566 of file iterator.hpp.

◆ CParent [7/8]

template<class C , class TypeGetter = C>
typedef CTypeIteratorBase<CTreeIterator> CTypeIterator< C, TypeGetter >::CParent
private

Definition at line 674 of file iterator.hpp.

◆ CParent [8/8]

template<class C , class TypeGetter = C>
typedef CTypeIteratorBase<CTreeConstIterator> CTypeConstIterator< C, TypeGetter >::CParent
private

Definition at line 768 of file iterator.hpp.

◆ CStdTypeConstIterator

template<typename T >
using CStdTypeConstIterator = CTypeConstIterator<T, CStdTypeInfo<T> >

Non-modifiable version.

Definition at line 976 of file iterator.hpp.

◆ CStdTypeIterator

template<typename T >
using CStdTypeIterator = CTypeIterator<T, CStdTypeInfo<T> >

Template class for iteration on objects of standard C++ type T.

Definition at line 973 of file iterator.hpp.

◆ CTreeConstIterator [1/2]

Definition at line 58 of file objecttype.hpp.

◆ CTreeConstIterator [2/2]

Definition at line 476 of file iterator.hpp.

◆ CTypesConstIterator [1/3]

Definition at line 59 of file objecttype.hpp.

◆ CTypesConstIterator [2/3]

template<class C >
typedef CParent::CTypesConstIterator CType< C >::CTypesConstIterator

Definition at line 83 of file objecttype.hpp.

◆ CTypesConstIterator [3/3]

Definition at line 994 of file iterator.hpp.

◆ CTypesIterator [1/3]

Definition at line 57 of file objecttype.hpp.

◆ CTypesIterator [2/3]

template<class C >
typedef CParent::CTypesIterator CType< C >::CTypesIterator

Definition at line 82 of file objecttype.hpp.

◆ CTypesIterator [3/3]

Definition at line 992 of file iterator.hpp.

◆ difference_type [1/2]

template<class C , class TypeGetter = C>
using CTypeIterator< C, TypeGetter >::difference_type = ptrdiff_t

Definition at line 678 of file iterator.hpp.

◆ difference_type [2/2]

template<class C , class TypeGetter = C>
using CTypeConstIterator< C, TypeGetter >::difference_type = ptrdiff_t

Definition at line 772 of file iterator.hpp.

◆ iterator_category [1/2]

template<class C , class TypeGetter = C>
using CTypeIterator< C, TypeGetter >::iterator_category = forward_iterator_tag

Definition at line 676 of file iterator.hpp.

◆ iterator_category [2/2]

template<class C , class TypeGetter = C>
using CTypeConstIterator< C, TypeGetter >::iterator_category = forward_iterator_tag

Definition at line 770 of file iterator.hpp.

◆ pointer [1/2]

template<class C , class TypeGetter = C>
using CTypeIterator< C, TypeGetter >::pointer = C*

Definition at line 679 of file iterator.hpp.

◆ pointer [2/2]

template<class C , class TypeGetter = C>
using CTypeConstIterator< C, TypeGetter >::pointer = C*

Definition at line 773 of file iterator.hpp.

◆ reference [1/2]

template<class C , class TypeGetter = C>
using CTypeIterator< C, TypeGetter >::reference = C&

Definition at line 680 of file iterator.hpp.

◆ reference [2/2]

template<class C , class TypeGetter = C>
using CTypeConstIterator< C, TypeGetter >::reference = C&

Definition at line 774 of file iterator.hpp.

◆ TBeginInfo [1/8]

Definition at line 120 of file iterator.hpp.

◆ TBeginInfo [2/8]

Definition at line 150 of file iterator.hpp.

◆ TBeginInfo [3/8]

template<class LevelIterator >
typedef LevelIterator::TBeginInfo CTreeIteratorTmpl< LevelIterator >::TBeginInfo

Definition at line 187 of file iterator.hpp.

◆ TBeginInfo [4/8]

Definition at line 484 of file iterator.hpp.

◆ TBeginInfo [5/8]

template<class Parent >
typedef CParent::TBeginInfo CTypeIteratorBase< Parent >::TBeginInfo
protected

Definition at line 517 of file iterator.hpp.

◆ TBeginInfo [6/8]

template<class Parent >
typedef CParent::TBeginInfo CTypesIteratorBase< Parent >::TBeginInfo

Definition at line 568 of file iterator.hpp.

◆ TBeginInfo [7/8]

template<class C , class TypeGetter = C>
typedef CParent::TBeginInfo CTypeIterator< C, TypeGetter >::TBeginInfo

Definition at line 681 of file iterator.hpp.

◆ TBeginInfo [8/8]

template<class C , class TypeGetter = C>
typedef CParent::TBeginInfo CTypeConstIterator< C, TypeGetter >::TBeginInfo

Definition at line 775 of file iterator.hpp.

◆ TIteratorContext

template<class LevelIterator >
typedef list< pair< typename LevelIterator::TObjectInfo, const CItemInfo*> > CTreeIteratorTmpl< LevelIterator >::TIteratorContext

Definition at line 189 of file iterator.hpp.

◆ TObjectInfo [1/6]

Definition at line 61 of file iterator.hpp.

◆ TObjectInfo [2/6]

Definition at line 89 of file iterator.hpp.

◆ TObjectInfo [3/6]

Definition at line 121 of file iterator.hpp.

◆ TObjectInfo [4/6]

Definition at line 151 of file iterator.hpp.

◆ TObjectInfo [5/6]

template<class LevelIterator >
typedef LevelIterator::TObjectInfo CTreeIteratorTmpl< LevelIterator >::TObjectInfo

Definition at line 186 of file iterator.hpp.

◆ TObjectInfo [6/6]

Definition at line 483 of file iterator.hpp.

◆ TStackLevel

template<class LevelIterator >
typedef shared_ptr<LevelIterator> CTreeIteratorTmpl< LevelIterator >::TStackLevel
private

Definition at line 183 of file iterator.hpp.

◆ TThis

template<class LevelIterator >
typedef CTreeIteratorTmpl<LevelIterator> CTreeIteratorTmpl< LevelIterator >::TThis
private

Definition at line 182 of file iterator.hpp.

◆ TTypeList

template<class Parent >
typedef list<TTypeInfo> CTypesIteratorBase< Parent >::TTypeList

Definition at line 569 of file iterator.hpp.

◆ TVisitedObjects

template<class LevelIterator >
typedef set<TConstObjectPtr> CTreeIteratorTmpl< LevelIterator >::TVisitedObjects

Definition at line 188 of file iterator.hpp.

◆ value_type [1/2]

template<class C , class TypeGetter = C>
using CTypeIterator< C, TypeGetter >::value_type = C

Definition at line 677 of file iterator.hpp.

◆ value_type [2/2]

template<class C , class TypeGetter = C>
using CTypeConstIterator< C, TypeGetter >::value_type = C

Definition at line 771 of file iterator.hpp.

Enumeration Type Documentation

◆ EDetectLoops

Enumerator
eDetectLoops 

Definition at line 997 of file iterator.hpp.

Function Documentation

◆ AddTo() [1/4]

template<class C >
static void CType< C >::AddTo ( CTypesConstIterator it)
inlinestatic

Definition at line 98 of file objecttype.hpp.

References CType_Base::AddTo(), and CType< C >::GetTypeInfo().

◆ AddTo() [2/4]

void CType_Base::AddTo ( CTypesConstIterator it,
TTypeInfo  typeInfo 
)
staticprotected

Definition at line 436 of file iterator.cpp.

References CTypesIteratorBase< Parent >::AddType().

◆ AddTo() [3/4]

template<class C >
static void CType< C >::AddTo ( CTypesIterator it)
inlinestatic

Definition at line 94 of file objecttype.hpp.

References CType_Base::AddTo(), and CType< C >::GetTypeInfo().

Referenced by CAlnAsnReader::Read().

◆ AddTo() [4/4]

void CType_Base::AddTo ( CTypesIterator it,
TTypeInfo  typeInfo 
)
staticprotected

Definition at line 431 of file iterator.cpp.

References CTypesIteratorBase< Parent >::AddType().

Referenced by CType< C >::AddTo().

◆ AddType()

template<class Parent >
CTypesIteratorBase<Parent>& CTypesIteratorBase< Parent >::AddType ( TTypeInfo  type)
inline

Definition at line 604 of file iterator.hpp.

References CTypesIteratorBase< Parent >::m_TypeList.

Referenced by CType_Base::AddTo().

◆ Assign() [1/2]

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::Assign ( const CTreeIteratorTmpl< LevelIterator > &  it)
inlineprotected

Definition at line 463 of file iterator.hpp.

◆ Assign() [2/2]

template<class Parent >
void CTypeIteratorBase< Parent >::Assign ( const CTypeIteratorBase< Parent > &  it)
inlineprotected

◆ Begin() [1/4]

template<class C >
CBeginInfo Begin ( C obj)
inline

Get starting point of object hierarchy.

Definition at line 1004 of file iterator.hpp.

Referenced by variation::AdjustMoltype(), CFindPub::Apply(), variation::CHgvsParser::AsHgvsExpression(), AssignBioseqSetLevel(), CAttachedHandles::Attach(), variation::CHgvsParser::AttachHgvs(), variation::CVariationUtil::AttachSeq(), CReadBlastApp::Begin(), BOOST_AUTO_TEST_CASE(), variation::ChangeIdsInPlace(), ChangeSeqLocId(), CheckDelGbblockSource(), CheckDivCode(), CheckDupDates(), variation_ref::CVariationUtil::CheckExonBoundary(), CheckGene(), variation::ContainsAnyFuzz(), variation::ContainsIupacNaAmbiguities(), CSeqEntryGetSource::CSeqEntryGetSource(), CSeqEntrySource::CSeqEntrySource(), DealWithGenes(), CWGSDb_Impl::DetermineFeatLocIdType(), EndAdded(), FinalCleanup(), FindCd(), FindFeatSeqLoc(), FixDupDates(), FixEmblUpdateDates(), fta_EntryCheckGBBlock(), fta_set_strandedness(), fta_sort_descr(), fta_sort_seqfeat_cit(), GeneQuals(), GetLoc(), GetParts(), GetTaxnameName(), MoveSourceDescrToTop(), variation::SFastLocSubtract::operator()(), operator<<(), PackEntries(), CSeq_annot_SNP_Info_Reader::Parse(), CSeq_annot_SNP_Info_Reader::ParseAnnot(), ProcessCitations(), CProcessor_ID2::ProcessData(), CProcessor_ID1_SNP::ProcessObjStream(), CProcessor_SE_SNP::ProcessObjStream(), CProcessor_St_SE_SNPT::ProcessStream(), CAlnAsnReader::Read(), CBiostruc::RemoveSIDs(), CNcbi_mime_asn1::RemoveSIDs(), CSyncQueue_ConstAccessGuard< Type, Container, Traits >::REnd(), CSyncQueue_AccessGuard< Type, Container, Traits >::REnd(), COMSSAMerge::Run(), CDemoSeqQaApp::Run(), CSampleAlnmgrApplication::Run(), variation::CVariationUtil::CVariantPropertiesIndex::s_GetIntronsAndSpliceSiteLocs(), s_TextToString(), variation::CVariationUtil::SetVariantProperties(), variation_ref::CVariationUtil::SetVariantProperties(), StripSerialNumbers(), SwissProtIDPresent(), variation::CHgvsParser::sx_AppendMoltypeExceptions(), testIntervalWholeAlignment(), testWholeIntervalAlignment(), TransformSeqAnnot(), variation::CVariationUtil::x_AdjustDelinsToInterval(), variation::CHgvsParser::x_AsHgvsInstExpression(), CId2ReaderBase::x_DumpReply(), variation_ref::CHgvsParser::x_expr2(), CPsiBlastInputClustalW::x_ExtractQueryForPssm(), CId2FetchApp::x_ProcessRequest(), CId1Reader::x_ReceiveReply(), and CId1Reader::x_SendRequest().

◆ Begin() [2/4]

template<class C >
CBeginInfo Begin ( C obj,
EDetectLoops   
)
inline

Get starting point of object hierarchy with loop detection.

Definition at line 1027 of file iterator.hpp.

◆ Begin() [3/4]

template<class C >
CConstBeginInfo Begin ( const C obj)
inline

Definition at line 1019 of file iterator.hpp.

◆ Begin() [4/4]

template<class C >
CConstBeginInfo Begin ( const C obj,
EDetectLoops   
)
inline

Definition at line 1042 of file iterator.hpp.

◆ begin() [1/2]

template<class C , class TypeGetter = C>
CTypeIterator& CTypeIterator< C, TypeGetter >::begin ( void  )
inline

Definition at line 732 of file iterator.hpp.

◆ begin() [2/2]

template<class C , class TypeGetter = C>
CTypeConstIterator& CTypeConstIterator< C, TypeGetter >::begin ( void  )
inline

Definition at line 818 of file iterator.hpp.

◆ CanEnter() [1/3]

template<class LevelIterator >
virtual bool CTreeIteratorTmpl< LevelIterator >::CanEnter ( const CConstObjectInfo object)
inlineprotectedvirtual

Reimplemented in CTypeIteratorBase< CTreeIterator >.

Definition at line 381 of file iterator.hpp.

Referenced by CTreeIteratorTmpl< CTreeLevelIterator >::Step().

◆ CanEnter() [2/3]

template<class Parent >
virtual bool CTypeIteratorBase< Parent >::CanEnter ( const CConstObjectInfo object)
inlineprotectedvirtual

Definition at line 540 of file iterator.hpp.

◆ CanEnter() [3/3]

template<class Parent >
virtual bool CTypesIteratorBase< Parent >::CanEnter ( const CConstObjectInfo object)
inlineprotectedvirtual

Definition at line 652 of file iterator.hpp.

References CTypesIteratorBase< Parent >::GetTypeList(), i, and ITERATE.

◆ CanGet() [1/2]

virtual bool CConstTreeLevelIterator::CanGet ( void  ) const
inlinevirtual

Reimplemented in CConstTreeLevelIteratorMany< ChildIterator >.

Definition at line 131 of file iterator.hpp.

◆ CanGet() [2/2]

virtual bool CTreeLevelIterator::CanGet ( void  ) const
inlinevirtual

Reimplemented in CTreeLevelIteratorMany< ChildIterator >.

Definition at line 161 of file iterator.hpp.

◆ CanSelect() [1/3]

template<class LevelIterator >
virtual bool CTreeIteratorTmpl< LevelIterator >::CanSelect ( const CConstObjectInfo obj)
inlineprotectedvirtual

Reimplemented in CTypeIteratorBase< CTreeIterator >.

Definition at line 367 of file iterator.hpp.

Referenced by CTreeIteratorTmpl< CTreeLevelIterator >::Walk().

◆ CanSelect() [2/3]

template<class Parent >
virtual bool CTypeIteratorBase< Parent >::CanSelect ( const CConstObjectInfo object)
inlineprotectedvirtual

Definition at line 535 of file iterator.hpp.

◆ CanSelect() [3/3]

template<class Parent >
virtual bool CTypesIteratorBase< Parent >::CanSelect ( const CConstObjectInfo object)
inlineprotectedvirtual

◆ CBeginInfo() [1/3]

CBeginInfo::CBeginInfo ( const CObjectInfo object,
bool  detectLoops = false 
)
inline

Definition at line 68 of file iterator.hpp.

◆ CBeginInfo() [2/3]

CBeginInfo::CBeginInfo ( CSerialObject object,
bool  detectLoops = false 
)
inline

Definition at line 74 of file iterator.hpp.

◆ CBeginInfo() [3/3]

CBeginInfo::CBeginInfo ( TObjectPtr  objectPtr,
TTypeInfo  typeInfo,
bool  detectLoops = false 
)
inline

Definition at line 63 of file iterator.hpp.

◆ CConstBeginInfo() [1/4]

CConstBeginInfo::CConstBeginInfo ( const CBeginInfo beginInfo)
inline

Definition at line 108 of file iterator.hpp.

◆ CConstBeginInfo() [2/4]

CConstBeginInfo::CConstBeginInfo ( const CConstObjectInfo object,
bool  detectLoops = false 
)
inline

Definition at line 96 of file iterator.hpp.

◆ CConstBeginInfo() [3/4]

CConstBeginInfo::CConstBeginInfo ( const CSerialObject object,
bool  detectLoops = false 
)
inline

Definition at line 102 of file iterator.hpp.

◆ CConstBeginInfo() [4/4]

CConstBeginInfo::CConstBeginInfo ( TConstObjectPtr  objectPtr,
TTypeInfo  typeInfo,
bool  detectLoops = false 
)
inline

Definition at line 91 of file iterator.hpp.

◆ CheckValid()

template<class LevelIterator >
bool CTreeIteratorTmpl< LevelIterator >::CheckValid ( void  ) const
inlineprotected

◆ Clone() [1/2]

virtual CConstTreeLevelIterator* CConstTreeLevelIterator::Clone ( void  )
pure virtual

◆ Clone() [2/2]

virtual CTreeLevelIterator* CTreeLevelIterator::Clone ( void  )
pure virtual

◆ ConstBegin() [1/2]

template<class C >
CConstBeginInfo ConstBegin ( const C obj)
inline

Get starting point of non-modifiable object hierarchy.

Definition at line 1012 of file iterator.hpp.

Referenced by CReadBlastApp::addLoctoSimpleSeq(), CBlastQuerySourceBioseqSet::CBlastQuerySourceBioseqSet(), CheckConsecutiveIntervals(), CheckForEmptySequences(), CValidError_bioseqset::CheckForInconsistentBiomols(), CReadBlastApp::complete_overlap(), CReadBlastApp::ConstBegin(), CBlobSplitterImpl::CountAnnotObjects(), CDisplaySeqalign::DisplaySeqalign(), CBioseq_set::GetLabel(), GetSeqLocFromStream(), GetStringsFromObject(), CString_constraint::GetStringsFromObject(), ASNDataManager::Load(), CId1FetchApp::LookUpGI(), CReadBlastApp::overlaps(), printed_ranges(), ReadFastaQueries(), CSeq_entry::ReassignConflictingIds(), CNmer_repeatsApplication::Run(), CSampleObjectsApplication::Run(), s_ConstBioseqSetToSeqLocs(), s_CountMix(), s_CreateScope(), s_ExtractQueryIdsFromBioseqSet(), s_GetCdregionContentLabel(), s_GetSeqFromSet(), CPsiBlastTestFixture::s_SetupSubject(), CProcessor_St_SE_SNPT::SaveSNPBlob(), SeqLocCheck(), CValidError_imp::Setup(), CBlobSplitterImpl::SplitBioseq(), CValidError_bioseq::SuppressTrailingXMsg(), CValidError_imp::Validate(), CValidError_bioseqset::ValidateBioseqSet(), CValidError_bioseqset::ValidatePopSet(), CValidError_bioseq::ValidateSeqIds(), CId1FetchApp::WriteHistoryTable(), CNewCleanup_imp::x_ChangePopToPhy(), seqmasks_io_fixture::x_ConvertMasks(), CBlastFormatterApp::x_ExtractQueries(), CBlastFormatterVdbApp::x_ExtractQueries(), CBlastFastaInputSource::x_FastaToSeqLoc(), CDisplaySeqalign::x_GetAlnVecForSeqalign(), x_GetSeqLocFromStream(), CAlnPrinterFixture::x_LoadSequences(), CUpdateMultipleSeq_Input::x_MatchIdsAndAddUpdateToScope(), CPSGDataLoader_Impl::x_ReadCDDChunk(), CValidError_imp::x_ReportInvalidFuzz(), CMultiAligner::x_SetDomainHits(), CPsiBl2SeqTestFixture::x_SetupSubject(), CSequenceDataTester::x_TestSingleSequence_Remote(), and CSingleFeatValidator::x_ValidateRptUnitRangeVal().

◆ ConstBegin() [2/2]

template<class C >
CConstBeginInfo ConstBegin ( const C obj,
EDetectLoops   
)
inline

Get starting point of non-modifiable object hierarchy with loop detection.

Definition at line 1035 of file iterator.hpp.

◆ Create() [1/2]

CConstTreeLevelIterator * CConstTreeLevelIterator::Create ( const TObjectInfo object)
static

◆ Create() [2/2]

CTreeLevelIterator * CTreeLevelIterator::Create ( const TObjectInfo object)
static

◆ CreateOne() [1/2]

CConstTreeLevelIterator * CConstTreeLevelIterator::CreateOne ( const TObjectInfo object)
static

Definition at line 231 of file iterator.cpp.

Referenced by CConstTreeLevelIterator::Create().

◆ CreateOne() [2/2]

CTreeLevelIterator * CTreeLevelIterator::CreateOne ( const TObjectInfo object)
static

Definition at line 316 of file iterator.cpp.

Referenced by CTreeLevelIterator::Create().

◆ CTreeIterator() [1/3]

CTreeIterator::CTreeIterator ( const TBeginInfo beginInfo)
inline

Definition at line 490 of file iterator.hpp.

References CTreeIteratorTmpl< CTreeLevelIterator >::Init().

◆ CTreeIterator() [2/3]

CTreeIterator::CTreeIterator ( const TBeginInfo beginInfo,
const string filter 
)
inline

Definition at line 494 of file iterator.hpp.

References CTreeIteratorTmpl< CTreeLevelIterator >::Init().

◆ CTreeIterator() [3/3]

CTreeIterator::CTreeIterator ( void  )
inline

Definition at line 487 of file iterator.hpp.

◆ CTreeIteratorTmpl() [1/3]

template<class LevelIterator >
CTreeIteratorTmpl< LevelIterator >::CTreeIteratorTmpl ( const TBeginInfo beginInfo)
inline

Definition at line 195 of file iterator.hpp.

◆ CTreeIteratorTmpl() [2/3]

template<class LevelIterator >
CTreeIteratorTmpl< LevelIterator >::CTreeIteratorTmpl ( const TBeginInfo beginInfo,
const string filter 
)
inline

Definition at line 199 of file iterator.hpp.

◆ CTreeIteratorTmpl() [3/3]

template<class LevelIterator >
CTreeIteratorTmpl< LevelIterator >::CTreeIteratorTmpl ( void  )
inline

Definition at line 192 of file iterator.hpp.

◆ CTypeConstIterator() [1/5]

template<class C , class TypeGetter = C>
CTypeConstIterator< C, TypeGetter >::CTypeConstIterator ( const CSerialObject object)
inlineexplicit

Definition at line 789 of file iterator.hpp.

◆ CTypeConstIterator() [2/5]

template<class C , class TypeGetter = C>
CTypeConstIterator< C, TypeGetter >::CTypeConstIterator ( const CTypeConstIterator< C, TypeGetter > &  it)
inline

Definition at line 808 of file iterator.hpp.

References CTypeIteratorBase< CTreeConstIterator >::Assign().

◆ CTypeConstIterator() [3/5]

template<class C , class TypeGetter = C>
CTypeConstIterator< C, TypeGetter >::CTypeConstIterator ( const TBeginInfo beginInfo)
inline

Definition at line 781 of file iterator.hpp.

◆ CTypeConstIterator() [4/5]

template<class C , class TypeGetter = C>
CTypeConstIterator< C, TypeGetter >::CTypeConstIterator ( const TBeginInfo beginInfo,
const string filter 
)
inline

Definition at line 785 of file iterator.hpp.

◆ CTypeConstIterator() [5/5]

template<class C , class TypeGetter = C>
CTypeConstIterator< C, TypeGetter >::CTypeConstIterator ( void  )
inline

Definition at line 777 of file iterator.hpp.

Referenced by CTypeConstIterator< C, TypeGetter >::end().

◆ CTypeIterator() [1/5]

template<class C , class TypeGetter = C>
CTypeIterator< C, TypeGetter >::CTypeIterator ( const CTypeIterator< C, TypeGetter > &  it)
inline

Definition at line 722 of file iterator.hpp.

◆ CTypeIterator() [2/5]

template<class C , class TypeGetter = C>
CTypeIterator< C, TypeGetter >::CTypeIterator ( const TBeginInfo beginInfo)
inline

Definition at line 687 of file iterator.hpp.

◆ CTypeIterator() [3/5]

template<class C , class TypeGetter = C>
CTypeIterator< C, TypeGetter >::CTypeIterator ( const TBeginInfo beginInfo,
const string filter 
)
inline

Definition at line 691 of file iterator.hpp.

◆ CTypeIterator() [4/5]

template<class C , class TypeGetter = C>
CTypeIterator< C, TypeGetter >::CTypeIterator ( CSerialObject object)
inlineexplicit

Definition at line 695 of file iterator.hpp.

◆ CTypeIterator() [5/5]

template<class C , class TypeGetter = C>
CTypeIterator< C, TypeGetter >::CTypeIterator ( void  )
inline

Definition at line 683 of file iterator.hpp.

Referenced by CTypeIterator< CBioseq >::end().

◆ CTypeIteratorBase() [1/3]

template<class Parent >
CTypeIteratorBase< Parent >::CTypeIteratorBase ( TTypeInfo  needType)
inlineprotected

Definition at line 519 of file iterator.hpp.

◆ CTypeIteratorBase() [2/3]

template<class Parent >
CTypeIteratorBase< Parent >::CTypeIteratorBase ( TTypeInfo  needType,
const TBeginInfo beginInfo 
)
inlineprotected

Definition at line 523 of file iterator.hpp.

◆ CTypeIteratorBase() [3/3]

template<class Parent >
CTypeIteratorBase< Parent >::CTypeIteratorBase ( TTypeInfo  needType,
const TBeginInfo beginInfo,
const string filter 
)
inlineprotected

Definition at line 528 of file iterator.hpp.

◆ CTypesIteratorBase() [1/6]

template<class Parent >
CTypesIteratorBase< Parent >::CTypesIteratorBase ( const TTypeList typeList)
inline

Definition at line 583 of file iterator.hpp.

◆ CTypesIteratorBase() [2/6]

template<class Parent >
CTypesIteratorBase< Parent >::CTypesIteratorBase ( const TTypeList typeList,
const TBeginInfo beginInfo 
)
inline

Definition at line 587 of file iterator.hpp.

References Init().

◆ CTypesIteratorBase() [3/6]

template<class Parent >
CTypesIteratorBase< Parent >::CTypesIteratorBase ( const TTypeList typeList,
const TBeginInfo beginInfo,
const string filter 
)
inline

Definition at line 592 of file iterator.hpp.

References Init().

◆ CTypesIteratorBase() [4/6]

template<class Parent >
CTypesIteratorBase< Parent >::CTypesIteratorBase ( TTypeInfo  type)
inline

Definition at line 574 of file iterator.hpp.

References CTypesIteratorBase< Parent >::m_TypeList.

◆ CTypesIteratorBase() [5/6]

template<class Parent >
CTypesIteratorBase< Parent >::CTypesIteratorBase ( TTypeInfo  type1,
TTypeInfo  type2 
)
inline

Definition at line 578 of file iterator.hpp.

References CTypesIteratorBase< Parent >::m_TypeList.

◆ CTypesIteratorBase() [6/6]

template<class Parent >
CTypesIteratorBase< Parent >::CTypesIteratorBase ( void  )
inline

Definition at line 571 of file iterator.hpp.

◆ DECLARE_OPERATOR_BOOL()

template<class LevelIterator >
CTreeIteratorTmpl< LevelIterator >::DECLARE_OPERATOR_BOOL ( IsValid()  )

◆ end() [1/2]

template<class C , class TypeGetter = C>
CTypeIterator CTypeIterator< C, TypeGetter >::end ( void  )
inline

Definition at line 736 of file iterator.hpp.

◆ end() [2/2]

template<class C , class TypeGetter = C>
CTypeConstIterator CTypeConstIterator< C, TypeGetter >::end ( void  )
inline

◆ Erase() [1/2]

void CTreeLevelIterator::Erase ( void  )
virtual

Reimplemented in CTreeLevelIteratorMany< ChildIterator >.

Definition at line 347 of file iterator.cpp.

References NCBI_THROW.

◆ Erase() [2/2]

void CTreeIterator::Erase ( void  )

◆ Get() [1/8]

template<class C >
static const C* CType< C >::Get ( const CConstObjectInfo object)
inlinestatic

Definition at line 143 of file objecttype.hpp.

References CType< C >::GetUnchecked(), and CType< C >::Match().

◆ Get() [2/8]

template<class C >
static C* CType< C >::Get ( const CObjectInfo object)
inlinestatic

Definition at line 137 of file objecttype.hpp.

References CType< C >::GetUnchecked(), and CType< C >::Match().

◆ Get() [3/8]

template<class C >
static const C* CType< C >::Get ( const CTypesConstIterator it)
inlinestatic

◆ Get() [4/8]

template<class C >
static C* CType< C >::Get ( const CTypesIterator it)
inlinestatic

◆ Get() [5/8]

template<class LevelIterator >
TObjectInfo& CTreeIteratorTmpl< LevelIterator >::Get ( void  )
inline

◆ Get() [6/8]

template<class LevelIterator >
const TObjectInfo& CTreeIteratorTmpl< LevelIterator >::Get ( void  ) const
inline

Get information about current object.

Definition at line 215 of file iterator.hpp.

◆ Get() [7/8]

virtual TObjectInfo CConstTreeLevelIterator::Get ( void  ) const
pure virtual

◆ Get() [8/8]

virtual TObjectInfo CTreeLevelIterator::Get ( void  ) const
pure virtual

◆ GetContainerElementIndex()

template<class LevelIterator >
int CTreeIteratorTmpl< LevelIterator >::GetContainerElementIndex ( void  ) const
inline

Return element index in STL container.

Definition at line 340 of file iterator.hpp.

◆ GetContext()

template<class LevelIterator >
string CTreeIteratorTmpl< LevelIterator >::GetContext ( void  ) const
inline

Get context data as string.

Definition at line 286 of file iterator.hpp.

Referenced by CTreeIteratorTmpl< CTreeLevelIterator >::MatchesContext().

◆ GetContextData()

template<class LevelIterator >
TIteratorContext CTreeIteratorTmpl< LevelIterator >::GetContextData ( void  ) const
inline

Get raw context data.

Definition at line 275 of file iterator.hpp.

Referenced by CTreeIteratorTmpl< CTreeLevelIterator >::GetContext().

◆ GetCurrentTypeInfo()

template<class LevelIterator >
TTypeInfo CTreeIteratorTmpl< LevelIterator >::GetCurrentTypeInfo ( void  ) const
inline

Get type information of current object.

Definition at line 221 of file iterator.hpp.

◆ GetFoundPtr()

template<class Parent >
CParent::TObjectInfo::TObjectPtrType CTypesIteratorBase< Parent >::GetFoundPtr ( void  ) const
inline

◆ GetFoundType()

template<class Parent >
TTypeInfo CTypesIteratorBase< Parent >::GetFoundType ( void  ) const
inline

Definition at line 620 of file iterator.hpp.

References Get().

◆ GetIndex() [1/2]

virtual TMemberIndex CConstTreeLevelIterator::GetIndex ( void  ) const
inlinevirtual

Reimplemented in CConstTreeLevelIteratorMany< ChildIterator >, and CConstTreeLevelIteratorOne.

Definition at line 126 of file iterator.hpp.

References kInvalidMember.

◆ GetIndex() [2/2]

virtual TMemberIndex CTreeLevelIterator::GetIndex ( void  ) const
inlinevirtual

Reimplemented in CTreeLevelIteratorMany< ChildIterator >, and CTreeLevelIteratorOne.

Definition at line 156 of file iterator.hpp.

References kInvalidMember.

◆ GetItemIndex()

template<class LevelIterator >
int CTreeIteratorTmpl< LevelIterator >::GetItemIndex ( void  ) const
inline

Return member index in sequence, or variant index in choice.

Definition at line 351 of file iterator.hpp.

◆ GetItemInfo() [1/2]

virtual const CItemInfo* CConstTreeLevelIterator::GetItemInfo ( void  ) const
pure virtual

◆ GetItemInfo() [2/2]

virtual const CItemInfo* CTreeLevelIterator::GetItemInfo ( void  ) const
pure virtual

◆ GetIteratorType()

template<class Parent >
TTypeInfo CTypeIteratorBase< Parent >::GetIteratorType ( void  ) const
inlineprotected

Definition at line 546 of file iterator.hpp.

◆ GetMatchType()

template<class Parent >
TTypeInfo CTypesIteratorBase< Parent >::GetMatchType ( void  ) const
inline

Definition at line 624 of file iterator.hpp.

References CTypesIteratorBase< Parent >::m_MatchType.

Referenced by CType_Base::Match().

◆ GetObjectPtr() [1/2]

TConstObjectPtr CType_Base::GetObjectPtr ( const CTypesConstIterator it)
staticprotected

Definition at line 446 of file iterator.cpp.

References CTypesIteratorBase< Parent >::GetFoundPtr().

◆ GetObjectPtr() [2/2]

TObjectPtr CType_Base::GetObjectPtr ( const CTypesIterator it)
staticprotected

◆ GetParent()

template<class C >
static C* CType< C >::GetParent ( CObjectIStream in,
size_t  max_depth = 1,
size_t  min_depth = 1 
)
inlinestatic

◆ GetParentObjectPtr()

TObjectPtr CType_Base::GetParentObjectPtr ( CObjectIStream in,
TTypeInfo  typeInfo,
size_t  max_depth,
size_t  min_depth 
)
staticprotected

Definition at line 451 of file iterator.cpp.

References in().

Referenced by CType< C >::GetParent().

◆ GetTypeInfo() [1/2]

template<class C >
static TTypeInfo CType< C >::GetTypeInfo ( void  )
inlinestatic

◆ GetTypeInfo() [2/2]

TTypeInfo CObjectGetTypeInfo::GetTypeInfo ( void  )
static

Definition at line 466 of file iterator.cpp.

◆ GetTypeList()

template<class Parent >
const TTypeList& CTypesIteratorBase< Parent >::GetTypeList ( void  ) const
inline

◆ GetUnchecked() [1/2]

template<class C >
static const C* CType< C >::GetUnchecked ( const CConstObjectInfo object)
inlinestatic

Definition at line 133 of file objecttype.hpp.

References CTypeConverter< T >::Get(), and CType_Base::GetObjectPtr().

◆ GetUnchecked() [2/2]

template<class C >
static C* CType< C >::GetUnchecked ( const CObjectInfo object)
inlinestatic

◆ HaveChildren()

bool CConstTreeLevelIterator::HaveChildren ( const CConstObjectInfo object)
static

◆ Init() [1/2]

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::Init ( const TBeginInfo beginInfo)
inlineprotected

◆ Init() [2/2]

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::Init ( const TBeginInfo beginInfo,
const string filter 
)
inlineprotected

Definition at line 397 of file iterator.hpp.

◆ IsValid()

template<class LevelIterator >
bool CTreeIteratorTmpl< LevelIterator >::IsValid ( void  ) const
inline

◆ Match() [1/6]

template<class C >
static bool CType< C >::Match ( const CObjectTypeInfo type)
inlinestatic

Definition at line 103 of file objecttype.hpp.

References CType< C >::GetTypeInfo(), and CType_Base::Match().

Referenced by CType< C >::Get().

◆ Match() [2/6]

static bool CType_Base::Match ( const CObjectTypeInfo type,
TTypeInfo  typeInfo 
)
inlinestaticprotected

Definition at line 61 of file objecttype.hpp.

Referenced by CType< C >::Match().

◆ Match() [3/6]

template<class C >
static bool CType< C >::Match ( const CTypesConstIterator it)
inlinestatic

Definition at line 111 of file objecttype.hpp.

References CType< C >::GetTypeInfo(), and CType_Base::Match().

◆ Match() [4/6]

bool CType_Base::Match ( const CTypesConstIterator it,
TTypeInfo  typeInfo 
)
staticprotected

Definition at line 426 of file iterator.cpp.

References CTypesIteratorBase< Parent >::GetMatchType().

◆ Match() [5/6]

template<class C >
static bool CType< C >::Match ( const CTypesIterator it)
inlinestatic

Definition at line 107 of file objecttype.hpp.

References CType< C >::GetTypeInfo(), and CType_Base::Match().

◆ Match() [6/6]

bool CType_Base::Match ( const CTypesIterator it,
TTypeInfo  typeInfo 
)
staticprotected

Definition at line 421 of file iterator.cpp.

References CTypesIteratorBase< Parent >::GetMatchType().

◆ MatchesContext()

template<class LevelIterator >
bool CTreeIteratorTmpl< LevelIterator >::MatchesContext ( const string filter) const
inline

Check context against filter.

Parameters
filterContext filter string

Definition at line 319 of file iterator.hpp.

Referenced by CTreeIteratorTmpl< CTreeLevelIterator >::SetContextFilter(), and CTreeIteratorTmpl< CTreeLevelIterator >::Walk().

◆ Next() [1/3]

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::Next ( void  )
inline

◆ Next() [2/3]

virtual void CConstTreeLevelIterator::Next ( void  )
pure virtual

◆ Next() [3/3]

virtual void CTreeLevelIterator::Next ( void  )
pure virtual

◆ operator CObjectTypeInfo()

template<class C >
CType< C >::operator CObjectTypeInfo ( void  ) const
inline

Definition at line 89 of file objecttype.hpp.

References CType< C >::GetTypeInfo().

◆ operator!=() [1/2]

template<class C , class TypeGetter = C>
bool CTypeConstIterator< C, TypeGetter >::operator!= ( const CTypeConstIterator< C, TypeGetter > &  it) const
inline

Definition at line 844 of file iterator.hpp.

References CTypeConstIterator< C, TypeGetter >::operator==().

◆ operator!=() [2/2]

template<class C , class TypeGetter = C>
bool CTypeIterator< C, TypeGetter >::operator!= ( const CTypeIterator< C, TypeGetter > &  it) const
inline

Definition at line 758 of file iterator.hpp.

◆ operator*() [1/3]

template<class C , class TypeGetter = C>
C& CTypeIterator< C, TypeGetter >::operator* ( void  )
inline

Definition at line 706 of file iterator.hpp.

◆ operator*() [2/3]

template<class C , class TypeGetter = C>
const C& CTypeIterator< C, TypeGetter >::operator* ( void  ) const
inline

Definition at line 710 of file iterator.hpp.

◆ operator*() [3/3]

template<class C , class TypeGetter = C>
const C& CTypeConstIterator< C, TypeGetter >::operator* ( void  ) const
inline

Definition at line 800 of file iterator.hpp.

References Get(), and CTypeConverter< T >::SafeCast().

◆ operator++() [1/5]

template<class C , class TypeGetter = C>
CTypeIterator CTypeIterator< C, TypeGetter >::operator++ ( int  )
inline

Definition at line 745 of file iterator.hpp.

◆ operator++() [2/5]

template<class C , class TypeGetter = C>
CTypeConstIterator CTypeConstIterator< C, TypeGetter >::operator++ ( int  )
inline

Definition at line 831 of file iterator.hpp.

References tmp.

◆ operator++() [3/5]

template<class LevelIterator >
TThis& CTreeIteratorTmpl< LevelIterator >::operator++ ( void  )
inline

Go to next object.

Definition at line 261 of file iterator.hpp.

◆ operator++() [4/5]

template<class C , class TypeGetter = C>
CTypeIterator& CTypeIterator< C, TypeGetter >::operator++ ( void  )
inline

Definition at line 740 of file iterator.hpp.

◆ operator++() [5/5]

template<class C , class TypeGetter = C>
CTypeConstIterator& CTypeConstIterator< C, TypeGetter >::operator++ ( void  )
inline

Definition at line 826 of file iterator.hpp.

◆ operator->() [1/3]

template<class C , class TypeGetter = C>
C* CTypeIterator< C, TypeGetter >::operator-> ( void  )
inline

Definition at line 714 of file iterator.hpp.

◆ operator->() [2/3]

template<class C , class TypeGetter = C>
const C* CTypeIterator< C, TypeGetter >::operator-> ( void  ) const
inline

Definition at line 718 of file iterator.hpp.

◆ operator->() [3/3]

template<class C , class TypeGetter = C>
const C* CTypeConstIterator< C, TypeGetter >::operator-> ( void  ) const
inline

Definition at line 804 of file iterator.hpp.

References Get(), and CTypeConverter< T >::SafeCast().

◆ operator=() [1/7]

template<class C , class TypeGetter = C>
CTypeConstIterator& CTypeConstIterator< C, TypeGetter >::operator= ( const CTypeConstIterator< C, TypeGetter > &  it)
inline

Definition at line 813 of file iterator.hpp.

References CTypeIteratorBase< CTreeConstIterator >::Assign().

◆ operator=() [2/7]

template<class C , class TypeGetter = C>
CTypeIterator& CTypeIterator< C, TypeGetter >::operator= ( const CTypeIterator< C, TypeGetter > &  it)
inline

Definition at line 727 of file iterator.hpp.

◆ operator=() [3/7]

template<class LevelIterator >
TThis& CTreeIteratorTmpl< LevelIterator >::operator= ( const TBeginInfo beginInfo)
inline

Initialize iterator to new root of object hierarchy.

Definition at line 268 of file iterator.hpp.

◆ operator=() [4/7]

CTreeIterator& CTreeIterator::operator= ( const TBeginInfo beginInfo)
inline

Definition at line 500 of file iterator.hpp.

References CTreeIteratorTmpl< CTreeLevelIterator >::Init().

◆ operator=() [5/7]

template<class Parent >
CTypesIteratorBase<Parent>& CTypesIteratorBase< Parent >::operator= ( const TBeginInfo beginInfo)
inline

Definition at line 610 of file iterator.hpp.

References Init().

◆ operator=() [6/7]

template<class C , class TypeGetter = C>
CTypeIterator<C, TypeGetter>& CTypeIterator< C, TypeGetter >::operator= ( const TBeginInfo beginInfo)
inline

Definition at line 700 of file iterator.hpp.

◆ operator=() [7/7]

template<class C , class TypeGetter = C>
CTypeConstIterator<C, TypeGetter>& CTypeConstIterator< C, TypeGetter >::operator= ( const TBeginInfo beginInfo)
inline

Definition at line 794 of file iterator.hpp.

References Init().

◆ operator==() [1/2]

template<class C , class TypeGetter = C>
bool CTypeConstIterator< C, TypeGetter >::operator== ( const CTypeConstIterator< C, TypeGetter > &  it) const
inline

Definition at line 837 of file iterator.hpp.

References Get(), and IsValid().

Referenced by CTypeConstIterator< C, TypeGetter >::operator!=().

◆ operator==() [2/2]

template<class C , class TypeGetter = C>
bool CTypeIterator< C, TypeGetter >::operator== ( const CTypeIterator< C, TypeGetter > &  it) const
inline

Definition at line 751 of file iterator.hpp.

Referenced by CTypeIterator< CBioseq >::operator!=().

◆ Reset()

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::Reset ( void  )
inline

Reset iterator to initial state.

Definition at line 227 of file iterator.hpp.

Referenced by CTreeIteratorTmpl< CTreeLevelIterator >::Init(), and CTreeIteratorTmpl< CTreeLevelIterator >::~CTreeIteratorTmpl().

◆ SetContextFilter()

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::SetContextFilter ( const string filter)
inline

Set context filter.

Parameters
filterContext filter string

Definition at line 331 of file iterator.hpp.

◆ SetItemInfo() [1/2]

virtual void CConstTreeLevelIterator::SetItemInfo ( const CItemInfo info)
protectedpure virtual

◆ SetItemInfo() [2/2]

virtual void CTreeLevelIterator::SetItemInfo ( const CItemInfo info)
protectedpure virtual

◆ SkipSubTree()

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::SkipSubTree ( void  )
inline

Definition at line 245 of file iterator.hpp.

◆ Step()

template<class LevelIterator >
bool CTreeIteratorTmpl< LevelIterator >::Step ( const TObjectInfo current)
inlineprivate

◆ Valid() [1/2]

virtual bool CConstTreeLevelIterator::Valid ( void  ) const
pure virtual

◆ Valid() [2/2]

virtual bool CTreeLevelIterator::Valid ( void  ) const
pure virtual

◆ Walk()

template<class LevelIterator >
void CTreeIteratorTmpl< LevelIterator >::Walk ( void  )
inlineprivate

◆ ~CConstTreeLevelIterator()

CConstTreeLevelIterator::~CConstTreeLevelIterator ( void  )
virtual

Definition at line 226 of file iterator.cpp.

◆ ~CTreeIteratorTmpl()

template<class LevelIterator >
virtual CTreeIteratorTmpl< LevelIterator >::~CTreeIteratorTmpl ( void  )
inlinevirtual

Definition at line 203 of file iterator.hpp.

◆ ~CTreeLevelIterator()

CTreeLevelIterator::~CTreeLevelIterator ( void  )
virtual

Definition at line 311 of file iterator.cpp.

Variable Documentation

◆ m_ContextFilter

template<class LevelIterator >
string CTreeIteratorTmpl< LevelIterator >::m_ContextFilter
private

◆ m_CurrentObject

template<class LevelIterator >
TObjectInfo CTreeIteratorTmpl< LevelIterator >::m_CurrentObject
private

◆ m_DetectLoops [1/2]

bool CBeginInfo::m_DetectLoops

Definition at line 80 of file iterator.hpp.

◆ m_DetectLoops [2/2]

bool CConstBeginInfo::m_DetectLoops

Definition at line 114 of file iterator.hpp.

◆ m_MatchType

template<class Parent >
TTypeInfo CTypesIteratorBase< Parent >::m_MatchType
private

◆ m_NeedType

template<class Parent >
TTypeInfo CTypeIteratorBase< Parent >::m_NeedType
private

◆ m_Stack

template<class LevelIterator >
vector< TStackLevel > CTreeIteratorTmpl< LevelIterator >::m_Stack
private

◆ m_TypeList

template<class Parent >
TTypeList CTypesIteratorBase< Parent >::m_TypeList
private

◆ m_VisitedObjects

template<class LevelIterator >
shared_ptr<TVisitedObjects> CTreeIteratorTmpl< LevelIterator >::m_VisitedObjects
private

Friends

◆ CTreeIterator

template<class LevelIterator >
friend class CTreeIterator
friend

Definition at line 460 of file iterator.hpp.

Modified on Sat Jun 22 10:45:54 2024 by modify_doxy.py rev. 669887