HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfPathTable< MappedType >::Iterator< ValType, EntryPtr > Class Template Reference

#include <pathTable.h>

+ Inheritance diagram for SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >:

Public Member Functions

 Iterator ()
 
template<class OtherVal , class OtherEntryPtr >
 Iterator (Iterator< OtherVal, OtherEntryPtr > const &other)
 Copy constructor (also allows for converting non-const to const). More...
 
Iterator GetNextSubtree () const
 
bool HasChild () const
 

Protected Member Functions

 Iterator (EntryPtr entry)
 
void increment ()
 
template<class OtherVal , class OtherEntryPtr >
bool equal (Iterator< OtherVal, OtherEntryPtr > const &other) const
 
ValType & dereference () const
 

Protected Attributes

EntryPtr _entry
 

Friends

class hboost::iterator_core_access
 
class SdfPathTable
 
template<class , class >
class Iterator
 

Detailed Description

template<class MappedType>
template<class ValType, class EntryPtr>
class SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >

Definition at line 205 of file pathTable.h.

Constructor & Destructor Documentation

template<class MappedType>
template<class ValType, class EntryPtr>
SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::Iterator ( )
inline

The standard requires default construction but places practically no requirements on the semantics of default-constructed iterators.

Definition at line 212 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
template<class OtherVal , class OtherEntryPtr >
SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::Iterator ( Iterator< OtherVal, OtherEntryPtr > const other)
inline

Copy constructor (also allows for converting non-const to const).

Definition at line 216 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::Iterator ( EntryPtr  entry)
inlineexplicitprotected

Definition at line 255 of file pathTable.h.

Member Function Documentation

template<class MappedType>
template<class ValType, class EntryPtr>
ValType& SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::dereference ( ) const
inlineprotected

Definition at line 277 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
template<class OtherVal , class OtherEntryPtr >
bool SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::equal ( Iterator< OtherVal, OtherEntryPtr > const other) const
inlineprotected

Definition at line 272 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
Iterator SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::GetNextSubtree ( ) const
inline

Return an iterator e, defining a maximal range [*this, e) such that for all i in the range, i->first is (*this)->first or is prefixed by (*this)->first.

Definition at line 223 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
bool SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::HasChild ( ) const
inline

Returns true if incrementing this iterator would move to a child entry, false otherwise.

Definition at line 246 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
void SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::increment ( )
inlineprotected

Definition at line 263 of file pathTable.h.

Friends And Related Function Documentation

template<class MappedType>
template<class ValType, class EntryPtr>
friend class hboost::iterator_core_access
friend

Definition at line 251 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
template<class , class >
friend class Iterator
friend

Definition at line 253 of file pathTable.h.

template<class MappedType>
template<class ValType, class EntryPtr>
friend class SdfPathTable
friend

Definition at line 252 of file pathTable.h.

Member Data Documentation

template<class MappedType>
template<class ValType, class EntryPtr>
EntryPtr SdfPathTable< MappedType >::Iterator< ValType, EntryPtr >::_entry
protected

Definition at line 282 of file pathTable.h.


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