#include <foreach.h>
Public Types | |
using | ValueType = decltype(std::declval< MAP >()(*std::declval< I >())) |
using | Iterator = I |
Public Types inherited from ForEachIterator< MapForEachIterator< MAP, I > > | |
using | IsForEachIterator = std::true_type |
Public Member Functions | |
MAXON_ATTRIBUTE_FORCE_INLINE | MapForEachIterator (I &&it, MAP &&map) |
MAXON_ATTRIBUTE_FORCE_INLINE | MapForEachIterator (const I &it, MAP &&map) |
MAXON_ATTRIBUTE_FORCE_INLINE | MapForEachIterator (MapForEachIterator &&src) |
MapForEachIterator (const MapForEachIterator &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 |
Public Member Functions inherited from ForEachIterator< MapForEachIterator< MAP, I > > | |
MAXON_ATTRIBUTE_FORCE_INLINE | ForEachIterator (ARGS &&... args) |
String | ToString (const FormatStatement *formatStatement=nullptr) |
MapForEachIterator< MAP, 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 |
MAP | _map |
Additional Inherited Members | |
Static Public Member Functions inherited from ForEachIterator< MapForEachIterator< MAP, I > > | |
static MAXON_ATTRIBUTE_FORCE_INLINE | PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end() |
using ValueType = decltype(std::declval<MAP>()(*std::declval<I>())) |
using Iterator = I |
MAXON_ATTRIBUTE_FORCE_INLINE MapForEachIterator | ( | I && | it, |
MAP && | map | ||
) |
MAXON_ATTRIBUTE_FORCE_INLINE MapForEachIterator | ( | const I & | it, |
MAP && | map | ||
) |
MAXON_ATTRIBUTE_FORCE_INLINE MapForEachIterator | ( | MapForEachIterator< MAP, 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-> | ( | ) | const |
|
private |
|
private |