4#include "mspass/utility/Metadata.h"
18const std::string pftbl_key(
"AntelopePfTbl");
19const std::string pfarr_key(
"AntelopePfArr");
106 std::list<std::string>
get_tbl(
const std::string key)
const;
121 std::list<std::string>
arr_keys()
const;
123 std::list<std::string>
tbl_keys()
const;
155 std::map<std::string, std::list<std::string>> pftbls;
157 std::map<std::string, AntelopePf> pfbranches;
173 message = std::string(
"AntelopePfError->undefined error");
179 message =
"AntelopePfError object message=" + mess;
185 message = std::string(
"AntelopePfError object message=") + mess;
205 const std::string tag);
207AntelopePf pfread(
const std::string fname);
Error class for AntelopePf object.
Definition AntelopePf.h:170
AntelopePfError(std::string mess)
Definition AntelopePf.h:178
void log_error()
Definition AntelopePf.h:188
AntelopePfError(const char *mess)
Definition AntelopePf.h:184
C++ object version of a parameter file.
Definition AntelopePf.h:61
std::list< std::string > arr_keys() const
Definition AntelopePf.cc:407
std::list< std::string > get_tbl(const std::string key) const
get a Tbl component by key.
Definition AntelopePf.cc:392
AntelopePf get_branch(const std::string key) const
used for subtrees (nested Arrs in antelope)
Definition AntelopePf.cc:399
AntelopePf & operator=(const AntelopePf &parent)
Definition AntelopePf.cc:421
std::list< std::string > tbl_keys() const
Definition AntelopePf.cc:414
Metadata ConvertToMetadata()
Return an object with only simple name:value pairs.
Definition AntelopePf.cc:430
AntelopePf()
Definition AntelopePf.h:64
void pfwrite(std::ostream &ofs)
save result in a pf format.
Base class for error object thrown by MsPASS library routines.
Definition MsPASSError.h:38
std::string message
Definition MsPASSError.h:108