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

all functions, classes etc. to read PDAS data. More...

Classes

struct  FoundEOF
 
struct  Header
 struct to hold complete header More...
 
struct  HeaderLine
 struct to hold content of header line More...
 

Typedefs

typedef std::vector< TvalueTdata
 
typedef int Tvalue
 

Enumerations

enum  Etype { FtypeINT, FtypeLONG, FtypeGAINRANGED }
 define pdas data types More...
 

Functions

template<class C >
convert (const Tdata &data)
 function to convert data More...
 
template<class C >
convertandscale (const Tdata &data, const Etype &type)
 function to scale data More...
 
int countdata (std::istream &is, const Etype &type)
 function to skip the file data but count the samples More...
 
void help (std::ostream &os=std::cout)
 function to print online help More...
 
void readdata (std::istream &is, Tdata &data, const Etype &type)
 
Header readheader (std::istream &is, const bool &verbose)
 function to read the file header More...
 
HeaderLine readline (std::istream &is, const bool &verbose)
 function to read the file header line More...
 
Tvalue readsample (std::istream &is, const Etype &type)
 function to read one sample More...
 

Variables

const bool isbinary =true
 Format properties. More...
 
const char *const streamID ="pdas"
 Format properties. More...
 

Detailed Description

all functions, classes etc. to read PDAS data.