Registry< T, R >::IteratorTemplate< IT > Class Template Reference

#include <registrybase.h>

Inheritance diagram for Registry< T, R >::IteratorTemplate< IT >:

Detailed Description

template<typename T, typename R>
template<typename IT>
class maxon::Registry< T, R >::IteratorTemplate< IT >

An Iterator is returned by GetEntries() to iterate over all registered entries of an registry. If allows only uni-directional iteration and supports the foreach-protocol.

Public Member Functions

 IteratorTemplate ()
 
 IteratorTemplate (IteratorTemplate &&src)
 
void operator++ ()
 
void operator++ (int)
 
 operator Bool () const
 
const IdGetId () const
 
- Public Member Functions inherited from ForEachIterator< IteratorTemplate< IT >, IT >
MAXON_ATTRIBUTE_FORCE_INLINE ForEachIterator (ARGS &&... args)
 
String ToString (const FormatStatement *formatStatement=nullptr)
 
IteratorTemplate< IT > & Find (const T &v)
 
Int FindIndex (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool Contains (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper begin ()
 

Private Member Functions

 IteratorTemplate (RegistryEntryIteratorInterface *it)
 
 MAXON_DISALLOW_COPY_AND_ASSIGN (IteratorTemplate)
 

Friends

class Registry
 

Additional Inherited Members

- Public Types inherited from ForEachIterator< IteratorTemplate< IT >, IT >
using IsForEachIterator = std::true_type
 
- Static Public Member Functions inherited from ForEachIterator< IteratorTemplate< IT >, IT >
static MAXON_ATTRIBUTE_FORCE_INLINE PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end()
 

Constructor & Destructor Documentation

◆ IteratorTemplate() [1/3]

◆ IteratorTemplate() [2/3]

◆ IteratorTemplate() [3/3]

IteratorTemplate ( RegistryEntryIteratorInterface *  it)
explicitprivate

Member Function Documentation

◆ operator++() [1/2]

void operator++ ( )

◆ operator++() [2/2]

void operator++ ( int  )

◆ operator Bool()

operator Bool ( ) const
explicit

◆ GetId()

const Id& GetId ( ) const

◆ MAXON_DISALLOW_COPY_AND_ASSIGN()

MAXON_DISALLOW_COPY_AND_ASSIGN ( IteratorTemplate< IT >  )
private

Friends And Related Function Documentation

◆ Registry

friend class Registry
friend