#include <IndexedSet.h>
Public Types | |
typedef std::unordered_map< TYPE, int > | index_type |
typedef std::vector< TYPE > | collection_type |
typedef collection_type::size_type | size_type |
Public Member Functions | |
size_type | size () |
int | operator() (const TYPE &obj) const |
int | operator() (const TYPE &obj) |
bool | has (const TYPE &obj) |
Public Attributes | |
index_type | index |
collection_type | collection |
IndexedSet - maintain a collection of exactly one thing in a first added order
Definition at line 13 of file IndexedSet.h.
typedef std::vector<TYPE> WireCell::IndexedSet< TYPE >::collection_type |
Definition at line 18 of file IndexedSet.h.
typedef std::unordered_map<TYPE, int> WireCell::IndexedSet< TYPE >::index_type |
Definition at line 17 of file IndexedSet.h.
typedef collection_type::size_type WireCell::IndexedSet< TYPE >::size_type |
Definition at line 19 of file IndexedSet.h.
|
inline |
Definition at line 43 of file IndexedSet.h.
|
inline |
Definition at line 25 of file IndexedSet.h.
|
inline |
Definition at line 32 of file IndexedSet.h.
|
inline |
Definition at line 23 of file IndexedSet.h.
collection_type WireCell::IndexedSet< TYPE >::collection |
Definition at line 22 of file IndexedSet.h.
index_type WireCell::IndexedSet< TYPE >::index |
Definition at line 21 of file IndexedSet.h.