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

Store a full data file. More...

#include <thiesdl1file.h>

Collaboration diagram for datrw::thiesdl1::File:

Public Member Functions

 File ()
 
void clear ()
 clear container More...
 
Tdseries dseries () const
 return data block of values More...
 
::sff::FREE filefree () const
 return FREE lines read from file header More...
 
bool foundunexpecteddatatime () const
 true if unexpected data time was found More...
 
Tfseries fseries () const
 return data block of values More...
 
FileHeader header () const
 return file header More...
 
Tiseries iseries () const
 return data block of counts More...
 
bool isproperlyfilled (const bool &throwerrors=false) const
 
int nsamples () const
 number of samples expected in this data set More...
 
void read (std::istream &is, const FileHeader &header)
 actually read file More...
 
void readwithheader (std::istream &is)
 actually read file More...
 
void tolerateredundant (const bool flag=true)
 set tolerance for redundant samples More...
 
void toleratewrongtime (const bool flag=true)
 set tolerance for wrong time More...
 
::sff::FREE tracefree () const
 return FREE lines produced while reading the data More...
 
::sff::WID2 wid2line () const
 return WID2 header More...
 

Private Member Functions

void put (const DataLine &line)
 drop a data line More...
 

Private Attributes

bool Mbetolerantagainstredundant
 mode: do not abort upon redundant samples More...
 
bool Mbetolerantagainstwrongtime
 mode: do not abort upon wrong sample time More...
 
aff::Series< bool > Mfilled
 an array to keep track of samples More...
 
bool Mfoundunexpecteddatatime
 found unexpected data time More...
 
FileHeader Mheader
 file header More...
 
Tiseries Miseries
 prepare are series of counts More...
 
unsigned int Mnsamples
 number of samples More...
 
bool Mreadsuccessfully
 true if data was read successfully More...
 
bool Mreadyforreading
 is this container empty and ready for reading? More...
 
::sff::FREE Mtracefree
 comment header lines More...
 

Detailed Description

Store a full data file.

The container is filled by the read function.

Definition at line 125 of file thiesdl1file.h.


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