Abstract base class for Metadata concept.
More...
#include <BasicMetadata.h>
|
virtual int | get_int (const std::string key) const =0 |
|
virtual double | get_double (const std::string key) const =0 |
|
virtual bool | get_bool (const std::string key) const =0 |
|
virtual std::string | get_string (const std::string key) const =0 |
|
virtual void | put (const std::string key, const double val)=0 |
|
virtual void | put (const std::string key, const int val)=0 |
|
virtual void | put (const std::string key, const bool val)=0 |
|
virtual void | put (const std::string key, const std::string val)=0 |
|
Abstract base class for Metadata concept.
A core idea in MsPASS is the idea of a generic header that allows storage and retrieval of arbitrary attributes. This base class forces support for the standard basic data types.
◆ ~BasicMetadata()
virtual mspass::utility::BasicMetadata::~BasicMetadata |
( |
| ) |
|
|
inlinevirtual |
◆ get_bool()
virtual bool mspass::utility::BasicMetadata::get_bool |
( |
const std::string |
key | ) |
const |
|
pure virtual |
◆ get_double()
virtual double mspass::utility::BasicMetadata::get_double |
( |
const std::string |
key | ) |
const |
|
pure virtual |
◆ get_int()
virtual int mspass::utility::BasicMetadata::get_int |
( |
const std::string |
key | ) |
const |
|
pure virtual |
◆ get_string()
virtual std::string mspass::utility::BasicMetadata::get_string |
( |
const std::string |
key | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: