13 #ifndef mitkModelFitStaticParameterMap_h
14 #define mitkModelFitStaticParameterMap_h
53 unsigned int m_numValues;
84 MapType::size_type
Size()
const
108 void Sort(
const std::string& name =
"");
124 return (a.front() < b.front());
#define MITKMODELFIT_EXPORT
std::map< ParameterNameType, StaticParameterValuesType > StaticParameterMapType
std::vector< StaticParameterValueType > StaticParameterValuesType
ModelTraitsInterface::ParameterNameType ParameterNameType
Data structure that stores information about the static parameters of a model fit.
MapType::size_type Size() const
const ValueType & Get(const std::string &name) const
Returns the values of the given variable name.
std::pair< KeyType, ValueType > StaticParameterType
Type of a variable, consisting of name and value list.
const_iterator begin() const
MapType::const_iterator const_iterator
Needed for 'foreach' support.
void Add(const std::string &name, const ValueType &newList)
Adds the given value list under the given variable name.
void Clear()
Resets the map so it's empty.
void Sort(const std::string &name="")
Sorts the map by the values of the given variable in ascending order.
const_iterator end() const
ModelBase::StaticParameterValuesType ValueType
Type of the map value.
bool operator<(const StaticParameterMap::ValueType &a, const StaticParameterMap::ValueType &b)
Compares two value lists by their first element.
Find image slices visible on a given plane.