Template Numerical Library version\ main:0c33d623
|
Classes | |
struct | DataWithIndex |
Public Types | |
using | IndexType = Index |
using | KeyType = Key |
using | ValueType = Value |
Public Member Functions | |
bool | find (const ValueType &data, IndexType &index) const |
Value & | getElement (KeyType key) |
const Value & | getElement (KeyType key) const |
IndexType | getSize () const |
IndexType | insert (const ValueType &data) |
void | print (std::ostream &str) const |
void | reset () |
template<typename ArrayType > | |
void | toArray (ArrayType &array) const |
Protected Types | |
using | STDMapIteratorType = typename STDMapType::const_iterator |
using | STDMapType = std::map< Key, DataWithIndex > |
using | STDMapValueType = typename STDMapType::value_type |
Protected Attributes | |
STDMapType | map |