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

class to read ascii data More...

#include <ascii.h>

Inheritance diagram for datrw::iasciistream:
Collaboration diagram for datrw::iasciistream:

Public Types

typedef idatstream Tbase
 

Public Member Functions

 iasciistream (std::istream &is, const std::string &modifier="", const bool &debug=false)
 
virtual ~iasciistream ()
 
bool debug ()
 indicate debug mode More...
 
void debug (const bool &debug)
 set debug mode More...
 
virtual Tdseries dseries ()
 
sff::FREE free () const
 
virtual Tfseries fseries ()
 
bool good () const
 
bool hasfree () const
 
bool hasinfo () const
 
bool hassrce () const
 
sff::INFO info () const
 
virtual Tiseries iseries ()
 
bool last () const
 
Properties properties () const
 
bool providesd () const
 
bool providesf () const
 
bool providesi () const
 
virtual void skipseries ()
 
sff::SRCE srce () const
 
sff::WID2 wid2 () const
 

Static Public Member Functions

static void help (std::ostream &os=std::cout)
 
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

void readheader ()
 
void settraceheader ()
 

Private Attributes

::sff::FREE Mcurrentfree
 
::sff::INFO Mcurrentinfo
 
std::string Mcurrentline
 
::sff::SRCE Mcurrentsrce
 
::sff::WID2 Mcurrentwid2
 
std::string Mdatatype
 
::sff::INFO Mdefaultinfo
 
::sff::SRCE Mdefaultsrce
 
::sff::WID2 Mdefaultwid2
 
std::string Mmodifier
 format modifier More...
 
bool Mnonfatal
 
unsigned int Mnsamples
 
bool Mreadfree
 
bool Mreadinfo
 
bool Mreadsrce
 

Detailed Description

class to read ascii data

Definition at line 66 of file ascii.h.


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