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

#include <registrybase.h>

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

详细描述

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.

公共成员函数

  IteratorTemplate ()
  IteratorTemplate ( IteratorTemplate && src )
void  operator++ ()
void  operator++ (int)
  operator Bool () const
const Id GetId () 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 ()

私有成员函数

  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()

构造函数 & 析构函数文档编制

◆  IteratorTemplate() [1/3]

IteratorTemplate ( )

◆  IteratorTemplate() [2/3]

IteratorTemplate ( IteratorTemplate < IT > &&  src )

◆  IteratorTemplate() [3/3]

IteratorTemplate ( RegistryEntryIteratorInterface *  it )
explicit private

成员函数文档编制

◆  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