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

input stream to read seismic data provided by T. Forbriger's any2ascii More...

#include <tfascii.h>

Inheritance diagram for datrw::itfasciistream:
Collaboration diagram for datrw::itfasciistream:

Public Types

typedef idatstream Tbase
 

Public Member Functions

 itfasciistream (std::istream &is, const bool &verbose=false)
 constructor More...
 
virtual ~itfasciistream ()
 destructor More...
 
bool debug ()
 indicate debug mode More...
 
void debug (const bool &debug)
 set debug mode More...
 
virtual Tdseries dseries ()
 to read the data as double More...
 
sff::FREE free () const
 
virtual Tfseries fseries ()
 to read the data as float More...
 
bool good () const
 
bool hasfree () const
 
bool hasinfo () const
 
bool hassrce () const
 
sff::INFO info () const
 
virtual Tiseries iseries ()
 to read the data as integer More...
 
bool last () const
 
Properties properties () const
 
bool providesd () const
 
bool providesf () const
 
bool providesi () const
 
virtual void skipseries ()
 reads only the header of the data More...
 
sff::SRCE srce () const
 
sff::WID2 wid2 () const
 

Static Public Member Functions

static void help (std::ostream &os=std::cout)
 print some info about data conversion More...
 
static void help (std::ostream &os=std::cout, const char *name="idatsream")
 print some info about data conversion. More...
 

Static Public Attributes

static const std::ios_base::openmode openmode =std::ios_base::in
 

Protected Member Functions

void newtrace ()
 
void setfilefree (const sff::FREE &free)
 
void setinfo (const sff::INFO &info)
 
void setlast ()
 
void setsrce (const sff::SRCE &srce)
 
void settracefree (const sff::FREE &free)
 
void setwid2 (const sff::WID2 &wid2)
 

Protected Attributes

bool Mdebug
 
std::istream & Mis
 

Private Member Functions

bool get_verbose () const
 member function More...
 
void set_fileheader ()
 set the file header data More...
 
void set_traceheader ()
 set the trace header data More...
 

Private Attributes

const bool Mverbose
 for verbose output More...
 

Detailed Description

input stream to read seismic data provided by T. Forbriger's any2ascii

The concept is based on SFF data contents and we will make use of SFF structures.

Definition at line 64 of file tfascii.h.


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