|
DATRW++ library: seismic data I/O with multiple formats
|
Namespaces | |
| datrw::util | |
| Some components used by several I/O format modules. | |
Macros | |
| #define | DATRW_debug(C, N, M) |
| produce debug output More... | |
| #define | DATRW_value(V) #V << "=" << V |
| report value More... | |
Functions | |
| std::string | datrw::util::clipstring (std::string &s, const std::string &delim=":") |
| strip substringStrips off first substring up to given delimiter. The string is passed as a reference and will be modified (i.e. the stripped substring as well as the delimiter will be erased). More... | |
| std::string | datrw::util::commatospace (std::string s) |
| template<class Cin , class Cout > | |
| Cout | datrw::util::convert (const typename Cin::Tcoc &data) |
| function template to convert a whole series More... | |
| template<class Cin , class Cout > | |
| void | datrw::util::convert (const Cin &data, Cout &outdata) |
| two-argument conversion function which allows template function specialization More... | |
| template<class C > | |
| void | datrw::util::convert (const C &data, C &outdata) |
| specialization of function in case where no conversion is required More... | |
| int | datrw::util::nsignificantdigits (double v, const bool &debug) |
| return number of significant digits More... | |
| int | datrw::util::ntrailingdigits (double v, const bool &debug=false) |
| return number of trailing digits (after decimal point) More... | |
| template<class C > | |
| C | datrw::util::readasciidouble (std::istream &is, const int nsamples, const std::string &streamname) |
| read the trace data More... | |
| std::string | datrw::util::trimws (std::string s) |
| remove leading and trailing whitespace More... | |