version  0.0.1
Defines the C++ API for MsPASS
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mspass::utility::BasicMetadata Class Referenceabstract

Abstract base class for Metadata concept. More...

#include <BasicMetadata.h>

Inheritance diagram for mspass::utility::BasicMetadata:
mspass::utility::Metadata mspass::seismic::Ensemble< T > mspass::seismic::CoreSeismogram mspass::seismic::CoreTimeSeries mspass::seismic::Ensemble< Tdata > mspass::seismic::PowerSpectrum mspass::utility::AntelopePf mspass::seismic::LoggingEnsemble< T > mspass::seismic::Seismogram mspass::seismic::TimeSeries mspass::seismic::SeismogramWGaps mspass::seismic::TimeSeriesWGaps

Public Member Functions

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~BasicMetadata()

virtual mspass::utility::BasicMetadata::~BasicMetadata ( )
inlinevirtual
15{};

Member Function Documentation

◆ get_bool()

virtual bool mspass::utility::BasicMetadata::get_bool ( const std::string  key) const
pure virtual

Implemented in mspass::utility::Metadata.

◆ get_double()

virtual double mspass::utility::BasicMetadata::get_double ( const std::string  key) const
pure virtual

Implemented in mspass::utility::Metadata.

◆ get_int()

virtual int mspass::utility::BasicMetadata::get_int ( const std::string  key) const
pure virtual

Implemented in mspass::utility::Metadata.

◆ get_string()

virtual std::string mspass::utility::BasicMetadata::get_string ( const std::string  key) const
pure virtual

Implemented in mspass::utility::Metadata.


The documentation for this class was generated from the following file: