|
CASM
AClustersApproachtoStatisticalMechanics
|
#include <unique_map.hh>
An iterator over a UniqueMap.
UniqueType should be Unique or const Unique, and MapIteratorType should be std::map<int, std::unique_ptr<UniqueType> > with const-ness matching the UniqueType.
Definition at line 18 of file unique_map.hh.
Public Types | |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef MapIteratorType::difference_type | difference_type |
| typedef std::result_of < TransformFunc(typename MapIteratorType::reference)> ::type | reference |
| typedef std::remove_reference < reference >::type | value_type |
| typedef value_type * | pointer |
Public Member Functions | |
| UniqueMapIterator () | |
| UniqueMapIterator (MapIteratorType map_it) | |
| template<typename T , typename M > | |
| UniqueMapIterator (const UniqueMapIterator< T, M > &umap_it) | |
| template<typename T , typename M > | |
| bool | operator== (const UniqueMapIterator< T, M > &B) const |
| template<typename T , typename M > | |
| bool | operator!= (const UniqueMapIterator< T, M > &B) const |
| int | type () const |
| reference | operator* () const |
| pointer | operator-> () const |
| UniqueMapIterator & | operator++ () |
| UniqueMapIterator | operator++ (int) |
| UniqueMapIterator & | operator-- () |
| UniqueMapIterator | operator-- (int) |
| MapIteratorType | base () const |
Private Attributes | |
| MapIteratorType | m_it |
| TransformFunc | m_transform |
| typedef MapIteratorType::difference_type notstd::UniqueMapIterator< TransformFunc, MapIteratorType >::difference_type |
Definition at line 23 of file unique_map.hh.
| typedef std::bidirectional_iterator_tag notstd::UniqueMapIterator< TransformFunc, MapIteratorType >::iterator_category |
Definition at line 22 of file unique_map.hh.
| typedef value_type* notstd::UniqueMapIterator< TransformFunc, MapIteratorType >::pointer |
Definition at line 26 of file unique_map.hh.
| typedef std::result_of<TransformFunc(typename MapIteratorType::reference)>::type notstd::UniqueMapIterator< TransformFunc, MapIteratorType >::reference |
Definition at line 24 of file unique_map.hh.
| typedef std::remove_reference<reference>::type notstd::UniqueMapIterator< TransformFunc, MapIteratorType >::value_type |
Definition at line 25 of file unique_map.hh.
|
inline |
Definition at line 28 of file unique_map.hh.
|
inlineexplicit |
Definition at line 30 of file unique_map.hh.
|
inline |
Definition at line 35 of file unique_map.hh.
|
inline |
Definition at line 87 of file unique_map.hh.
|
inline |
Definition at line 45 of file unique_map.hh.
|
inline |
Definition at line 53 of file unique_map.hh.
|
inline |
Definition at line 62 of file unique_map.hh.
|
inline |
Definition at line 68 of file unique_map.hh.
|
inline |
Definition at line 75 of file unique_map.hh.
|
inline |
Definition at line 81 of file unique_map.hh.
|
inline |
Definition at line 57 of file unique_map.hh.
|
inline |
Definition at line 40 of file unique_map.hh.
|
inline |
Definition at line 49 of file unique_map.hh.
|
private |
Definition at line 93 of file unique_map.hh.
|
private |
Definition at line 94 of file unique_map.hh.