1 #ifndef _ATTRIBUTE_CROSS_REFERENCE_
2 #define _ATTRIBUTE_CROSS_REFERENCE_
6 #include "mspass/utility/Metadata.h"
7 #include "mspass/utility/AttributeMap.h"
67 const mspass::utility::MetadataList& mdlist);
71 std::string
internal(
const std::string key)
const;
73 std::string
external(
const std::string key)
const;
75 MDtype
type(
const std::string key)
const;
86 void put(
const std::string intern,
const std::string ext);
98 std::map<std::string,std::string> itoe;
99 std::map<std::string,std::string> etoi;
101 std::map<std::string,MDtype> imdtypemap;
Cross reference between external and internal names.
Definition: AttributeCrossReference.h:21
void put(const std::string intern, const std::string ext)
Definition: AttributeCrossReference.cc:148
std::set< std::string > external_names() const
Definition: AttributeCrossReference.cc:167
std::set< std::string > internal_names() const
Definition: AttributeCrossReference.cc:157
MDtype type(const std::string key) const
Definition: AttributeCrossReference.cc:133
AttributeCrossReference & operator=(const AttributeCrossReference &parent)
Definition: AttributeCrossReference.cc:103
int size() const
Definition: AttributeCrossReference.cc:143
AttributeCrossReference(const std::string lines_to_parse)
AttributeCrossReference()
Definition: AttributeCrossReference.h:27
std::string external(const std::string key) const
Definition: AttributeCrossReference.cc:123
AttributeCrossReference(const std::list< std::string > &lines)
AttributeCrossReference(const std::map< std::string, std::string > internal2external, const mspass::utility::MetadataList &mdlist)