NAMD
|
#include <TupleString.h>
Public Member Functions | |
TwoLevelParam () | |
ParamValue * | get_param (const size_t &index) |
ParamValue * | get_param_by_key (const TupleString< NumStrings > &findKey) |
bool | insert (const TupleString< NumStrings > &tKey, const ParamValue &mValue) |
std::pair< bool, ParamValue * > | insert_check (const TupleString< NumStrings > &tKey, const ParamValue &mValue) |
std::pair< bool, size_t > const | index_param (const TupleString< NumStrings > &findKey) const |
int64_t const | index (const TupleString< NumStrings > &findKey) const |
void | clear () |
void | sort () |
Public Attributes | |
std::vector< ParamValue > | paramVector |
std::unordered_map< TupleString< NumStrings >, size_t, TupleStringHash< NumStrings > > | tupleMap |
Definition at line 273 of file TupleString.h.
|
inline |
Definition at line 278 of file TupleString.h.
|
inline |
Definition at line 350 of file TupleString.h.
|
inline |
Definition at line 281 of file TupleString.h.
|
inline |
Definition at line 286 of file TupleString.h.
|
inline |
Definition at line 340 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(), and TwoLevelParam< 4, DihedralValue >::get_param().
|
inline |
Definition at line 326 of file TupleString.h.
|
inline |
Definition at line 299 of file TupleString.h.
|
inline |
Definition at line 313 of file TupleString.h.
|
inline |
Definition at line 361 of file TupleString.h.
std::vector<ParamValue> TwoLevelParam< NumStrings, ParamValue >::paramVector |
Definition at line 276 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<TupleString<NumStrings>, size_t, TupleStringHash<NumStrings> > TwoLevelParam< NumStrings, ParamValue >::tupleMap |
Definition at line 277 of file TupleString.h.
Referenced by TwoLevelParam< 4, DihedralValue >::clear(), 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().