74 bool metaValueExists(const
String& name) const;
76 bool metaValueExists(
UInt index) const;
84 void removeMetaValue(const
String& name);
86 void removeMetaValue(
UInt index);
99 void getKeys(
std::vector<
UInt>& keys) const;
102 bool isMetaEmpty() const;
105 void clearMetaInfo();
110 inline
void createIfNotExists_();
138 std::size_t hash = 0;
141 std::vector<OpenMS::String> str_keys;
142 meta.getKeys(str_keys);
143 for (
const auto& key : str_keys)
151 std::vector<OpenMS::UInt> uint_keys;
152 meta.getKeys(uint_keys);
153 for (
const auto& key : uint_keys)
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition DataValue.h:34
A more convenient string class.
Definition String.h:34
unsigned int UInt
Unsigned integer type.
Definition Types.h:64
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
std::size_t fnv1a_hash_string(const std::string &s) noexcept
FNV-1a hash for a string.
Definition HashUtils.h:70