version
0.0.1
Defines the C++ API for MsPASS
|
Public Member Functions | |
MSEED_sid (const char *sid) | |
MSEED_sid (const MSEED_sid &parent) | |
MSEED_sid & | operator= (const MSEED_sid &parent) |
bool | operator!= (const MSEED_sid &other) const |
Public Attributes | |
string | net |
string | sta |
string | chan |
string | loc |
Friends | |
ostream & | operator<< (ostream &os, MSEED_sid &self) |
Inline class used to make a cleaner interface the ugly libmseed function for dealing with what they call an "sid".
mspass::io::MSEED_sid::MSEED_sid | ( | const char * | sid | ) |
Constructor for this class.
Just copies c strings to std::strings in the class. Throws a simple int exception if the libmseed parser returns an error. This could be improved if I could make sense of the error logger by retrieving the message this obnoxious function posts to its error log.