iterator for table
More...
#include <iter.hh>
List of all members.
Detailed Description
template<typename Key, typename Value, class Extract, class Hash, class Equal>
class utilmm::hash_toolbox::iter< Key, Value, Extract, Hash, Equal >
iterator for table
This class implements a iterator for utilmm::hash_toolbox::table
.
- Author:
- Frédéric Py <fpy@laas.fr>
Definition at line 175 of file iter.hh.
Member Typedef Documentation
template<typename Key, typename Value, class Extract, class Hash, class Equal>
template<typename Key, typename Value, class Extract, class Hash, class Equal>
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Pointer type.
This is the type of the pointer used to access to Value
. For cont iterator it is a const pointer
Definition at line 187 of file iter.hh.
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Reference type.
This is the type of the reference used to access to Value
.
Definition at line 192 of file iter.hh.
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Size type.
This is the type used to advance the iterator or other things like that.
Definition at line 198 of file iter.hh.
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Type of the pointed elements.
This the type of the elements in the container
Definition at line 181 of file iter.hh.
Constructor & Destructor Documentation
template<typename Key, typename Value, class Extract, class Hash, class Equal>
default crontructor
Create an iterator not attached to any table
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Member Function Documentation
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Difference test.
- Parameters:
-
other | The instance to compare |
- Return values:
-
true | if *this is not equal to other |
false | else |
template<typename Key, typename Value, class Extract, class Hash, class Equal>
dereference operator
- Returns:
- a refence to pointed cell
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Addition operation.
- Parameters:
-
This function returns an iterator pos cells after current instance
- Returns:
- the itrerator at pos
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Pre-incremant operation.
Advance iterator of one cell
- Returns:
- the iterator after operation.
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Post-increment operation.
Advance iterator of one cell
- Returns:
- value of the iterator just before the operation.
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Advance operation.
- Parameters:
-
This function increments the iterator position of the given distance pos .
- Returns:
*this
after operation
template<typename Key, typename Value, class Extract, class Hash, class Equal>
access operator
This operator allow user to acces directly to attributes of pointed cell.
- Returns:
- a pointer to the cell
template<typename Key, typename Value, class Extract, class Hash, class Equal>
Equality test.
- Parameters:
-
other | The instance to compare |
- Return values:
-
true | if *this is equal to other |
false | else |
Friends And Related Function Documentation
template<typename Key, typename Value, class Extract, class Hash, class Equal>
template<typename Key, typename Value, class Extract, class Hash, class Equal>
friend class table [friend] |
Member Data Documentation
template<typename Key, typename Value, class Extract, class Hash, class Equal>
template<typename Key, typename Value, class Extract, class Hash, class Equal>
The documentation for this class was generated from the following file: