|
OpenMS
2.5.0
|
Go to the documentation of this file.
44 #include <unordered_map>
46 #ifdef OPENMS_COMPILER_MSVC
47 #pragma warning( push )
48 #pragma warning( disable : 4251 ) // disable MSVC dll-interface warning
101 void setDescription(
UInt index,
const String& description);
108 void setDescription(
const String& name,
const String& description);
181 #ifdef OPENMS_COMPILER_MSVC
182 #pragma warning( pop )
MapIndex2StringType index_to_unit_
map from index to unit
Definition: MetaInfoRegistry.h:176
Registry which assigns unique integer indices to strings.
Definition: MetaInfoRegistry.h:75
MapIndex2StringType index_to_name_
map from index to name
Definition: MetaInfoRegistry.h:172
std::unordered_map< UInt, std::string > MapIndex2StringType
Definition: MetaInfoRegistry.h:167
UInt next_index_
internal counter, that stores the next index to assign
Definition: MetaInfoRegistry.h:165
MapIndex2StringType index_to_description_
map from index to description
Definition: MetaInfoRegistry.h:174
A more convenient string class.
Definition: String.h:58
std::unordered_map< std::string, UInt > MapString2IndexType
Definition: MetaInfoRegistry.h:166
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
MapString2IndexType name_to_index_
map from name to index
Definition: MetaInfoRegistry.h:170
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94