OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
#include <HandleMap.h>
Public Member Functions | |
bool | has_next () |
Handle | next () throw (IndexErrorException) |
Private Types | |
typedef std::map< Handle, T > ::iterator | iter_type |
typedef std::shared_ptr < HandleMap< T > > | MapPtr |
Private Member Functions | |
HandleMapIterator (MapPtr m) | |
Private Attributes | |
iter_type | current |
MapPtr | map |
Friends | |
class | HandleMap< T > |
Definition at line 46 of file HandleMap.h.
|
private |
Stores the current iterator.
Definition at line 218 of file HandleMap.h.
|
private |
Stores the handleMap.
Definition at line 224 of file HandleMap.h.
|
inlineprivate |
Constructor for this class.
HandleMap | object to be iterated. |
Definition at line 232 of file HandleMap.h.
References opencog::HandleMapIterator< T >::current, reorder_log::m, and opencog::HandleMapIterator< T >::map.
|
inline |
Returns whether there still are elements to be iterated.
Definition at line 246 of file HandleMap.h.
References opencog::HandleMapIterator< T >::current, and opencog::HandleMapIterator< T >::map.
|
inline |
Returns the next key of the iterator and advances.
Definition at line 258 of file HandleMap.h.
References opencog::HandleMapIterator< T >::current, opencog::HandleMapIterator< T >::has_next(), and opencog::HandleMapIterator< T >::map.
|
friend |
Definition at line 211 of file HandleMap.h.
|
private |
Definition at line 219 of file HandleMap.h.
|
private |
Definition at line 225 of file HandleMap.h.