NAMD
|
#include <TupleString.h>
Public Types | |
using | KeyType = TupleString< NumStrings > |
Public Member Functions | |
TwoLevelParam () | |
ParamValue * | get_param (const size_t &index) |
bool | get_key_by_index (size_t index, KeyType &key) const |
ParamValue * | get_param_by_key (const KeyType &findKey) |
bool | insert (const KeyType &tKey, const ParamValue &mValue) |
std::pair< bool, ParamValue * > | insert_check (const KeyType &tKey, const ParamValue &mValue) |
std::pair< bool, size_t > const | index_param (const KeyType &findKey) const |
int64_t const | index (const KeyType &findKey) const |
void | clear () |
void | sort () |
Public Attributes | |
std::vector< ParamValue > | paramVector |
std::unordered_map< KeyType, size_t, TupleStringHash< NumStrings > > | tupleMap |
Definition at line 273 of file TupleString.h.
using TwoLevelParam< NumStrings, ParamValue >::KeyType = TupleString<NumStrings> |
Definition at line 276 of file TupleString.h.
|
inline |
Definition at line 279 of file TupleString.h.
|
inline |
Definition at line 361 of file TupleString.h.
|
inline |
Definition at line 287 of file TupleString.h.
|
inline |
Definition at line 282 of file TupleString.h.
|
inline |
Definition at line 297 of file TupleString.h.
|
inline |
Definition at line 351 of file TupleString.h.
Referenced by Parameters::assign_angle_index(), Parameters::assign_bond_index(), Parameters::assign_crossterm_index(), Parameters::assign_dihedral_index(), Parameters::assign_improper_index(), TwoLevelParam< 4, DihedralValue >::get_key_by_index(), and TwoLevelParam< 4, DihedralValue >::get_param().
|
inline |
Definition at line 337 of file TupleString.h.
|
inline |
Definition at line 310 of file TupleString.h.
|
inline |
Definition at line 324 of file TupleString.h.
|
inline |
Definition at line 372 of file TupleString.h.
std::vector<ParamValue> TwoLevelParam< NumStrings, ParamValue >::paramVector |
Definition at line 277 of file TupleString.h.
Referenced by TwoLevelParam< 4, DihedralValue >::clear(), TwoLevelParam< 4, DihedralValue >::get_param(), TwoLevelParam< 4, DihedralValue >::get_param_by_key(), TwoLevelParam< 4, DihedralValue >::index_param(), TwoLevelParam< 4, DihedralValue >::insert(), TwoLevelParam< 4, DihedralValue >::insert_check(), and TwoLevelParam< 4, DihedralValue >::sort().
std::unordered_map<KeyType, size_t, TupleStringHash<NumStrings> > TwoLevelParam< NumStrings, ParamValue >::tupleMap |
Definition at line 278 of file TupleString.h.
Referenced by TwoLevelParam< 4, DihedralValue >::clear(), TwoLevelParam< 4, DihedralValue >::get_key_by_index(), TwoLevelParam< 4, DihedralValue >::get_param_by_key(), TwoLevelParam< 4, DihedralValue >::index(), TwoLevelParam< 4, DihedralValue >::index_param(), TwoLevelParam< 4, DihedralValue >::insert(), TwoLevelParam< 4, DihedralValue >::insert_check(), and TwoLevelParam< 4, DihedralValue >::sort().