|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Data class for modelfit properties that store a map of lists (e.g. static parameters). More...
#include <mitkScalarListLookupTable.h>

Public Types | |
| typedef std::string | KeyType |
| typedef std::vector< double > | ValueType |
| typedef std::map< KeyType, ValueType > | LookupTableType |
| typedef std::pair< KeyType, ValueType > | EntryType |
Public Member Functions | |
| ScalarListLookupTable () | |
| virtual | ~ScalarListLookupTable () |
| virtual const char * | GetNameOfClass () const |
| void | SetTableValue (const KeyType &key, const ValueType &value) |
| Sets the list at the given map key to the given value. More... | |
| bool | ValueExists (const KeyType &key) const |
| Returns true if the list with the given name exists. More... | |
| const ValueType & | GetTableValue (const KeyType &key) const |
| Returns the list with the given name. More... | |
| const LookupTableType & | GetLookupTable () const |
| Returns the map of lists. More... | |
| void | SetLookupTable (const LookupTableType &table) |
| bool | operator== (const ScalarListLookupTable &lookupTable) const |
| bool | operator!= (const ScalarListLookupTable &lookupTable) const |
| virtual ScalarListLookupTable & | operator= (const ScalarListLookupTable &other) |
Protected Attributes | |
| LookupTableType | m_LookupTable |
Data class for modelfit properties that store a map of lists (e.g. static parameters).
Definition at line 28 of file mitkScalarListLookupTable.h.
| typedef std::pair<KeyType, ValueType> mitk::ScalarListLookupTable::EntryType |
Definition at line 34 of file mitkScalarListLookupTable.h.
| typedef std::string mitk::ScalarListLookupTable::KeyType |
Definition at line 31 of file mitkScalarListLookupTable.h.
| typedef std::map<KeyType, ValueType> mitk::ScalarListLookupTable::LookupTableType |
Definition at line 33 of file mitkScalarListLookupTable.h.
| typedef std::vector<double> mitk::ScalarListLookupTable::ValueType |
Definition at line 32 of file mitkScalarListLookupTable.h.
|
inline |
Definition at line 36 of file mitkScalarListLookupTable.h.
|
inlinevirtual |
Definition at line 37 of file mitkScalarListLookupTable.h.
References mitk::operator!=(), and mitk::operator==().
| const mitk::ScalarListLookupTable::LookupTableType & mitk::ScalarListLookupTable::GetLookupTable | ( | ) | const |
Returns the map of lists.
Definition at line 48 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
Referenced by mitk::modelFit::AdaptDataPropertyToModelFit(), mitk::modelFit::CreateFitInfoFromNode(), mitk::GenerateAdditionalModelFitPlotData(), mitk::operator<<(), and mitk::ScalarListLookupTablePropertySerializer::Serialize().
|
virtual |
Definition at line 16 of file mitkScalarListLookupTable.cpp.
| const mitk::ScalarListLookupTable::ValueType & mitk::ScalarListLookupTable::GetTableValue | ( | const KeyType & | key | ) | const |
Returns the list with the given name.
| key | The name (i.e. map key) of the desired list. |
| std::range_error | If the list doesn't exist. |
Definition at line 33 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
Referenced by mitk::DescriptivePharmacokineticBrixModelFactory::DoCreateParameterizer().
| bool mitk::ScalarListLookupTable::operator!= | ( | const ScalarListLookupTable & | lookupTable | ) | const |
Definition at line 63 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
|
virtual |
Definition at line 69 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
| bool mitk::ScalarListLookupTable::operator== | ( | const ScalarListLookupTable & | lookupTable | ) | const |
Definition at line 59 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
| void mitk::ScalarListLookupTable::SetLookupTable | ( | const LookupTableType & | table | ) |
Definition at line 53 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
Sets the list at the given map key to the given value.
| key | The name of the list (i.e. map key). |
| value | The list to be added (i.e. map value). |
Definition at line 21 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
Referenced by mitk::modelFit::ConvertStaticParametersToProperty(), and mitk::ScalarListLookupTablePropertySerializer::Deserialize().
| bool mitk::ScalarListLookupTable::ValueExists | ( | const KeyType & | key | ) | const |
Returns true if the list with the given name exists.
| key | The name of the desired list (i.e. map key) |
Definition at line 26 of file mitkScalarListLookupTable.cpp.
References m_LookupTable.
Referenced by mitk::DescriptivePharmacokineticBrixModelFactory::DoCreateParameterizer().
|
protected |
Definition at line 77 of file mitkScalarListLookupTable.h.
Referenced by GetLookupTable(), GetTableValue(), operator!=(), operator=(), operator==(), SetLookupTable(), SetTableValue(), and ValueExists().