souffle
2.0.2-371-g6315b36
|
An iterator to be utilized if there is only a single element to iterate over. More...
#include <ContainerUtil.h>
Public Member Functions | |
bool | operator!= (const SingleValueIterator &other) const |
const T & | operator* () const |
SingleValueIterator & | operator++ () |
const T * | operator-> () const |
SingleValueIterator & | operator= (const SingleValueIterator &other)=default |
bool | operator== (const SingleValueIterator &other) const |
SingleValueIterator ()=default | |
SingleValueIterator (const SingleValueIterator &other)=default | |
SingleValueIterator (const T &value) | |
Private Attributes | |
bool | end = true |
T | value |
An iterator to be utilized if there is only a single element to iterate over.
Definition at line 260 of file ContainerUtil.h.
|
default |
|
inline |
Definition at line 268 of file ContainerUtil.h.
References souffle::SingleValueIterator< T >::end.
|
default |
|
inline |
Definition at line 283 of file ContainerUtil.h.
|
inline |
Definition at line 288 of file ContainerUtil.h.
|
inline |
Definition at line 298 of file ContainerUtil.h.
References souffle::range< Iter >::a, souffle::range< Iter >::b, and souffle::range< Iter >::range().
|
inline |
Definition at line 293 of file ContainerUtil.h.
|
default |
|
inline |
Definition at line 277 of file ContainerUtil.h.
|
private |
Definition at line 263 of file ContainerUtil.h.
Referenced by souffle::derefIter(), and souffle::SingleValueIterator< T >::SingleValueIterator().
|
private |
Definition at line 261 of file ContainerUtil.h.
Referenced by souffle::derefIter().