80 bool metaValueExists(const
std::
string& name) const;
82 bool metaValueExists(
UInt index) const;
85 void setMetaValue(const
std::
string& name, const
DataValue& value);
90 void removeMetaValue(const
std::
string& name);
92 void removeMetaValue(
UInt index);
102 void getKeys(
std::vector<
std::
string>& keys) const;
108 bool isMetaEmpty() const;
111 void clearMetaInfo();
148 inline
void createIfNotExists_();
174 std::size_t hash = 0;
176 for (
auto it = meta.metaBegin(); it != meta.metaEnd(); ++it)
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition DataValue.h:32
unsigned int UInt
Unsigned integer type.
Definition Types.h:64
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::size_t hash_int(T value) noexcept
Hash for an integer type.
Definition HashUtils.h:107
void hash_combine(std::size_t &seed, std::size_t value) noexcept
Combine a hash value with additional data using golden ratio mixing.
Definition HashUtils.h:87