|
souffle
2.0.2-371-g6315b36
|
Iterator type for souffle::SparseArray.
More...
#include <Brie.h>

Public Types | |
| using | array_value_type = typename SparseArray::value_type |
| using | index_type = typename SparseArray::index_type |
| using | Node = typename SparseArray::Node |
| using | value_type = std::pair< index_type, array_value_type > |
Public Member Functions | |
| bool | isEnd () const |
| bool | operator!= (const SparseArrayIter &other) const |
| const value_type & | operator* () const |
| SparseArrayIter & | operator++ () |
| SparseArrayIter | operator++ (int) |
| const value_type * | operator-> () const |
| SparseArrayIter & | operator= (const SparseArrayIter &)=default |
| bool | operator== (const SparseArrayIter &other) const |
| void | print (std::ostream &out) const |
| SparseArrayIter ()=default | |
| SparseArrayIter (const Node *first, index_type firstOffset) | |
| SparseArrayIter (const Node *node, value_type value) | |
| SparseArrayIter (const SparseArrayIter &)=default | |
Private Attributes | |
| const Node * | node {} |
| value_type | value |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const SparseArrayIter &iter) |
Iterator type for souffle::SparseArray.
| using souffle::detail::brie::SparseArrayIter< SparseArray >::array_value_type = typename SparseArray::value_type |
| using souffle::detail::brie::SparseArrayIter< SparseArray >::index_type = typename SparseArray::index_type |
| using souffle::detail::brie::SparseArrayIter< SparseArray >::Node = typename SparseArray::Node |
| using souffle::detail::brie::SparseArrayIter< SparseArray >::value_type = std::pair<index_type, array_value_type> |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 198 of file Brie.h.
References souffle::detail::brie::SparseArrayIter< SparseArray >::node, and souffle::detail::brie::SparseArrayIter< SparseArray >::value.
|
default |
|
inline |
Definition at line 181 of file Brie.h.
References souffle::detail::brie::SparseArrayIter< SparseArray >::value.
|
inline |
|
friend |
|
private |
Definition at line 301 of file Brie.h.
Referenced by souffle::detail::brie::SparseArrayIter< SparseArray >::operator->().
|
private |
Definition at line 304 of file Brie.h.
Referenced by souffle::detail::brie::SparseArrayIter< SparseArray >::operator->(), and souffle::detail::brie::SparseArrayIter< SparseArray >::operator==().
1.8.17