|
Public Types |
typedef True | ReferenceMapTag |
| Indicates that the map if reference map.
|
typedef _Item | Key |
| The key type.
|
typedef bool | Value |
| The value type.
|
typedef const Value & | ConstReference |
| The const reference type.
|
Public Member Functions |
| IterableBoolMap (const Graph &_graph, bool def=false) |
| Constructor of the Map with a default value.
|
bool | operator[] (const Key &key) const |
| Const subscript operator of the map.
|
Reference | operator[] (const Key &key) |
| Subscript operator of the map.
|
void | set (const Key &key, bool value) |
| Set operation of the map.
|
int | trueNum () const |
| Returns the number of the keys mapped to true.
|
int | falseNum () const |
| Returns the number of the keys mapped to false.
|
Classes |
class | FalseIt |
| Iterator for the keys mapped to false. More...
|
class | ItemIt |
| Iterator for the keys mapped to a given value. More...
|
class | Reference |
| Refernce to the value of the map. More...
|
class | TrueIt |
| Iterator for the keys mapped to true. More...
|