13 #ifndef mitkModelFitStaticParameterMap_h
14 #define mitkModelFitStaticParameterMap_h
51 unsigned int m_numValues;
84 MapType::size_type
Size()
const
124 void Sort(
const std::string& name =
"");
141 return (a.front() < b.front());
#define MITKMODELFIT_EXPORT
std::map< ParameterNameType, StaticParameterValuesType > StaticParameterMapType
std::vector< StaticParameterValueType > StaticParameterValuesType
ModelTraitsInterface::ParameterNameType ParameterNameType
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 if the name doesn't exist already....
void Clear()
Resets the map, so it's empty.
void Sort(const std::string &name="")
Sorts the values of the given variable name in ascending order. The values of all other variables wil...
const_iterator end() const
ModelBase::StaticParameterValuesType ValueType
Type of the map value.
bool operator<(const StaticParameterMap::ValueType &a, const StaticParameterMap::ValueType &b)
Compares two var lists and returns true if the first list's first item is lower than the second one's...
Find image slices visible on a given plane.