DATRW++ library: seismic data I/O with multiple formats
datrw Namespace Reference

Root namespace of library. More...

Namespaces

 ascii
 internals of the ascii I/O module
 
 binary
 internals of the binary I/O module
 
 bonjer
 all functions, classes, etc. to read K. Bonjers data format
 
 datatypes
 
 formatmodifiers
 Namespace containing components of format modifiers.
 
 gse
 all the stuff to read raw GSE data
 
 helper
 
 hpmo
 All classes and functions to extract data from HPMO files.
 
 mseed
 all the stuff to read mini-SEED data
 
 pdas
 all functions, classes etc. to read PDAS data.
 
 sac
 all the stuff to read SAC binary data
 
 seife
 internals of the seife I/O module
 
 sff
 Format specific modules for SFF data.
 
 su
 All classes and functions to extract data from Seismic Unix files.
 
 tfascii
 all functions, classes, etc. to read data format of T.Forbriger's any2ascii
 
 thiesdl1
 internals of the Thies DL1 reading module
 
 tsoft
 All classes and functions to extract data from TSOFT files.
 
 util
 Some components used by several I/O format modules.
 

Classes

class  Exception
 Base class for exceptions. More...
 
class  ianystream
 Class to read any type of data file. More...
 
class  iasciistream
 class to read ascii data More...
 
class  ibinarystream
 class to read binary data More...
 
class  ibonjerstream
 input stream to read seismic data provided by K. Bonjer More...
 
class  idatstream
 
class  igsestream
 class to read raw GSE data More...
 
class  ihpmostream
 class to read HPMO data More...
 
class  imseedstream
 class to read mini-SEED data More...
 
class  ipdasstream
 class to read PDAS data More...
 
class  isacstream
 class to read SAC binary data More...
 
class  iseifestream
 class to read seife data More...
 
class  isffstream
 class to read SFF data More...
 
class  isustream
 class to read SeismicUnix data More...
 
class  itfasciistream
 input stream to read seismic data provided by T. Forbriger's any2ascii More...
 
class  ithiesdl1stream
 class to read Thies DL1 data More...
 
class  itsoftstream
 class to read TSOFT data More...
 
class  oanystream
 Class to write any type of data file. More...
 
class  oasciistream
 class to write ascii data More...
 
class  obinarystream
 class to write binary More...
 
class  odatstream
 
class  ogsestream
 class to write GSE data More...
 
class  oseifestream
 class to write seife data More...
 
class  osffstream
 class to write SFF data More...
 
class  osustream
 class to write SU data More...
 
class  Properties
 properties base class. More...
 
class  sequentialtracereader
 Sequential trace reader. More...
 
class  Subformat
 Class to handle format modifiersThis class is used to parse a format modifier string. Detailed instructions will be given upon request. For some hints have a look at tests/libdatrwxxtests.c. More...
 

Typedefs

typedef aff::Series< double > Tdseries
 
typedef aff::Series< float > Tfseries
 
typedef aff::Series< int > Tiseries
 

Enumerations

enum  Edatatype { Fint, Ffloat, Fdouble, Fall }
 
enum  Eformat {
  Fsff, Fpdas, Fhpmo, Fmseed,
  Fbonjer, Fsac, Fgse, Ftsoft,
  Ftfascii, Fsu, Fseife, Fascii,
  Fbinary, Fthiesdl1
}
 

Functions

void abort_if_exists (const std::string &filename)
 
void dont_report_type_conversion ()
 switch off type conversion verbosity More...
 
bool isbinary (const Eformat &format)
 true, if underlying file format is binary More...
 
void online_help (const std::string &format, std::ostream &os, const bool &modifierhelp)
 
void online_help (const Eformat &format, std::ostream &os, const bool &modifierhelp)
 
void online_help (std::ostream &os)
 
template<class C >
oanystreamoperator<< (oanystream &os, const C &c)
 general output operator More...
 
odatstreamoperator<< (odatstream &os, const sff::WID2 &wid2)
 
odatstreamoperator<< (odatstream &os, const sff::SRCE &srce)
 
odatstreamoperator<< (odatstream &os, const sff::INFO &info)
 
odatstreamoperator<< (odatstream &os, const sff::FREE &free)
 
odatstreamoperator<< (odatstream &os, const Tdseries::Tcoc &series)
 
odatstreamoperator<< (odatstream &os, const Tfseries::Tcoc &series)
 
odatstreamoperator<< (odatstream &os, const Tiseries::Tcoc &series)
 
template<class C >
ianystreamoperator>> (ianystream &is, C &c)
 general input operator More...
 
idatstreamoperator>> (idatstream &is, sff::WID2 &wid2)
 
idatstreamoperator>> (idatstream &is, sff::SRCE &srce)
 
idatstreamoperator>> (idatstream &is, sff::INFO &info)
 
idatstreamoperator>> (idatstream &is, sff::FREE &free)
 
idatstreamoperator>> (idatstream &is, Tdseries &series)
 
idatstreamoperator>> (idatstream &is, Tfseries &series)
 
idatstreamoperator>> (idatstream &is, Tiseries &series)
 
void print_format_desc (std::ostream &os, const char *ID, const char *desc)
 
template<typename from , typename to >
void report_conversion (std::ostream &os)
 
void report_type_conversion ()
 switch on type conversion verbosity More...
 
void supported_data_types (std::ostream &os)
 
void supported_input_data_types (std::ostream &os)
 
void supported_output_data_types (std::ostream &os)
 
template<typename t1 , typename t2 >
bool types_are_equal ()
 
Eformat anyID (std::string identifier)
 convert identifier from and to string representation More...
 
std::string anyID (const Eformat &id)
 convert identifier from and to string representation More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, sff::WID2 &wid2)
 explicite input operator for sequentialtracereader More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, sff::SRCE &srce)
 explicite input operator for sequentialtracereader More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, sff::INFO &info)
 explicite input operator for sequentialtracereader More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, sff::FREE &free)
 explicite input operator for sequentialtracereader More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, Tdseries &series)
 explicite input operator for sequentialtracereader More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, Tfseries &series)
 explicite input operator for sequentialtracereader More...
 
sequentialtracereaderoperator>> (sequentialtracereader &is, Tiseries &series)
 explicite input operator for sequentialtracereader More...
 

Variables

const char *const libversion ="libdatrwxx (version 2018-04-06)"
 Version string. More...
 

Detailed Description

Root namespace of library.

This namespace contains the generic interface to the library. It contains several subnamespaces with interfaces to format specific data reading and writing modules.