1 #ifndef _METADATADEFINITIONS_H_
2 #define _METADATADEFINITIONS_H_
55 bool is_defined(
const std::string key)
const noexcept;
62 std::string
concept(
const std::string key)
const;
69 mspass::utility::MDtype
type(
const std::string key)
const;
70 std::list<std::string> keys()
const;
81 void add(
const std::string key,
const std::string concept_,
const MDtype mdt);
90 bool has_alias(
const std::string key)
const;
98 bool is_alias(
const std::string key)
const;
99 std::list<std::string> aliases(
const std::string key)
const;
112 std::pair<std::string,mspass::utility::MDtype>
unique_name(
const std::string aliasname)
const;
118 void add_alias(
const std::string key,
const std::string aliasname);
126 bool writeable(
const std::string key)
const;
134 bool readonly(
const std::string key)
const;
211 std::string
collection(
const std::string key)
const;
224 std::pair<std::string,std::string>
normalize_data(
const std::string key)
const;
241 const std::list<std::string> aliaslist);
279 std::map<std::string,MDtype> tmap;
280 std::map<std::string,std::string> cmap;
281 std::multimap<std::string,std::string> aliasmap;
282 std::map<std::string,std::string> alias_xref;
283 std::set<std::string> roset;
289 std::map<std::string,std::tuple<std::string,std::string>> unique_id_data;
290 void pfreader(
const std::string pfname);
291 void yaml_reader(
const std::string fname);