|
Cogs.Core
|
Iterator type for iterating over resource pools accessing the actual wrapped resource instances. More...
#include <ResourcePolicies.h>
Public Types | |
| typedef ResourceWrapper< ResourceType > | WrapperType |
| typedef std::forward_iterator_tag | iterator_category |
| typedef ResourceType | value_type |
| Value type for dereferencing the iterator is the templated ResourceType. | |
| typedef size_t | difference_type |
| Difference type to calculate iterator distance. | |
| typedef ResourceType * | pointer |
| Pointer type to the templated ResourceType. | |
| typedef ResourceType & | reference |
| Reference type to the templated ResourceType. | |
Public Member Functions | |
| PoolIterator (WrapperType *current) | |
| PoolIterator (const PoolIterator &other) | |
| PoolIterator | operator++ () |
| PoolIterator & | operator++ (int) |
| constexpr bool | operator== (const PoolIterator &other) const |
| reference | operator* () |
| reference | operator* () const |
| const pointer | operator-> () const |
| pointer | operator-> () |
Private Attributes | |
| WrapperType * | current |
Iterator type for iterating over resource pools accessing the actual wrapped resource instances.
Definition at line 43 of file ResourcePolicies.h.
| typedef size_t Cogs::PoolIterator< ResourceType >::difference_type |
Difference type to calculate iterator distance.
Definition at line 53 of file ResourcePolicies.h.
| typedef std::forward_iterator_tag Cogs::PoolIterator< ResourceType >::iterator_category |
Definition at line 47 of file ResourcePolicies.h.
| typedef ResourceType* Cogs::PoolIterator< ResourceType >::pointer |
Pointer type to the templated ResourceType.
Definition at line 56 of file ResourcePolicies.h.
| typedef ResourceType& Cogs::PoolIterator< ResourceType >::reference |
Reference type to the templated ResourceType.
Definition at line 59 of file ResourcePolicies.h.
| typedef ResourceType Cogs::PoolIterator< ResourceType >::value_type |
Value type for dereferencing the iterator is the templated ResourceType.
Definition at line 50 of file ResourcePolicies.h.
| typedef ResourceWrapper<ResourceType> Cogs::PoolIterator< ResourceType >::WrapperType |
Definition at line 45 of file ResourcePolicies.h.
|
inline |
Definition at line 61 of file ResourcePolicies.h.
|
inline |
Definition at line 63 of file ResourcePolicies.h.
|
inline |
Definition at line 70 of file ResourcePolicies.h.
|
inline |
Definition at line 72 of file ResourcePolicies.h.
|
inline |
Definition at line 65 of file ResourcePolicies.h.
|
inline |
Definition at line 66 of file ResourcePolicies.h.
|
inline |
Definition at line 76 of file ResourcePolicies.h.
|
inline |
Definition at line 74 of file ResourcePolicies.h.
|
inlineconstexpr |
Definition at line 68 of file ResourcePolicies.h.
|
private |
Definition at line 79 of file ResourcePolicies.h.