#include <foreach.h>
Public Types | |
using | ValueType = decltype(*std::declval< I >()) |
using | Iterator = I |
![]() | |
using | IsForEachIterator = std::true_type |
Public Member Functions | |
IndexForEachIterator (I &&it) | |
IndexForEachIterator (const I &it) | |
IndexForEachIterator (IndexForEachIterator &&src) | |
IndexForEachIterator (const IndexForEachIterator &src)=default | |
MAXON_ATTRIBUTE_FORCE_INLINE | operator Bool () const |
MAXON_ATTRIBUTE_FORCE_INLINE void | operator++ () |
MAXON_ATTRIBUTE_FORCE_INLINE ValueType | operator* () const |
MAXON_ATTRIBUTE_FORCE_INLINE std::remove_reference< ValueType >::type * | operator-> () const |
Int | GetIndex () const |
![]() | |
MAXON_ATTRIBUTE_FORCE_INLINE | ForEachIterator (ARGS &&... args) |
String | ToString (const FormatStatement *formatStatement) |
IndexForEachIterator< I > & | 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 Attributes | |
I | _iterator |
Int | _index |
Additional Inherited Members | |
![]() | |
static MAXON_ATTRIBUTE_FORCE_INLINE | PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end() |
using ValueType = decltype(*std::declval<I>()) |
using Iterator = I |
|
explicit |
|
explicit |
IndexForEachIterator | ( | IndexForEachIterator< I > && | src | ) |
|
default |
|
explicit |
MAXON_ATTRIBUTE_FORCE_INLINE void operator++ | ( | ) |
MAXON_ATTRIBUTE_FORCE_INLINE ValueType operator* | ( | ) | const |
MAXON_ATTRIBUTE_FORCE_INLINE std::remove_reference<ValueType>::type* operator-> | ( | void | ) | const |
Int GetIndex | ( | ) | const |
|
private |
|
private |