Flow123d
last_with_con_2.0.0-4-g42e6930
|
#include <accessors.hh>
Public Member Functions | |
IteratorBase (const Address &address, const unsigned int index) | |
bool | operator== (const IteratorBase &that) const |
Comparison of two Iterators. Do no compare types only position in the storage. More... | |
bool | operator!= (const IteratorBase &that) const |
operator bool () const | |
unsigned int | idx () const |
const Address & | get_address () const |
Protected Attributes | |
Address | address_ |
unsigned int | index_ |
Base class of input Iterator<Type> template. Main reason is possibility to construct invalid iterator without template parameter ( used in Array::end()
)
Definition at line 664 of file accessors.hh.
|
inline |
Constructor. Creates iterator effectively pointing to data address_->get_storage()->get_item(index), that is parameter address
points to StorageArray and parameter index
gives index into this array.
Definition at line 672 of file accessors.hh.
|
inline |
Returns address
Definition at line 694 of file accessors.hh.
|
inline |
Return index in an array or record.
Definition at line 200 of file accessors_impl.hh.
|
inline |
Implicit conversion to bool. Returns true if iterator points to non-null storage.
Definition at line 193 of file accessors_impl.hh.
|
inline |
Definition at line 188 of file accessors_impl.hh.
|
inline |
Comparison of two Iterators. Do no compare types only position in the storage.
Definition at line 183 of file accessors_impl.hh.
|
protected |
Definition at line 699 of file accessors.hh.
|
protected |
Definition at line 700 of file accessors.hh.