table
More...
#include <utilmm/hash/bits/iter.hh>
Public Types | |
| typedef Value | value_type |
| Type of the pointed elements. | |
| typedef value_type * | pointer |
| Pointer type. | |
| typedef value_type & | reference |
| Reference type. | |
| typedef size_t | size_type |
| Size type. | |
Public Member Functions | |
| iter () | |
| default crontructor | |
| bool | operator== (iter const &other) const |
| Equality test. | |
| bool | operator!= (iter const &other) const |
| Difference test. | |
| iter & | operator+= (size_type pos) |
| Advance operation. | |
| iter | operator+ (size_type pos) const |
| Addition operation. | |
| iter & | operator++ () |
| Pre-incremant operation. | |
| iter | operator++ (int) |
| Post-increment operation. | |
| pointer | operator-> () const |
| access operator | |
| reference | operator * () const |
| dereference operator | |
Friends | |
| class | const_iter |
| class | table |
table
This class implements a iterator for utilmm::hash_toolbox::table.
| typedef Value utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::value_type |
Type of the pointed elements.
This the type of the elements in the container
| typedef value_type* utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::pointer |
Pointer type.
This is the type of the pointer used to access to Value. For cont iterator it is a const pointer
| typedef value_type& utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::reference |
Reference type.
This is the type of the reference used to access to Value.
| typedef size_t utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::size_type |
Size type.
This is the type used to advance the iterator or other things like that.
| utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::iter | ( | ) |
default crontructor
Create an iterator not attached to any table
| bool utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator== | ( | iter< Key, Value, Extract, Hash, Equal > const & | other | ) | const |
Equality test.
| other | The instance to compare |
| true | if *this is equal to other | |
| false | else |
| bool utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator!= | ( | iter< Key, Value, Extract, Hash, Equal > const & | other | ) | const |
Difference test.
| other | The instance to compare |
| true | if *this is not equal to other | |
| false | else |
| iter& utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator+= | ( | size_type | pos | ) |
Advance operation.
| pos | distance to advance |
*this after operation | iter utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator+ | ( | size_type | pos | ) | const |
Addition operation.
| pos | distance to add |
| iter& utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator++ | ( | ) |
Pre-incremant operation.
Advance iterator of one cell
| iter utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator++ | ( | int | ) |
Post-increment operation.
Advance iterator of one cell
| pointer utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator-> | ( | ) | const |
access operator
This operator allow user to acces directly to attributes of pointed cell.
| reference utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >::operator * | ( | ) | const |
dereference operator
friend class const_iter [friend] |
friend class table [friend] |
1.5.3