OpendTect-6_4  6.4
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
Seis::Blocks::Reader Class Reference

Reads data from Blocks Storage. For comments see master branch. More...

Inheritance diagram for Seis::Blocks::Reader:
[legend]

Public Types

typedef PosInfo::CubeData CubeData
 
- Public Types inherited from Seis::Blocks::IOClass
typedef DataCharacteristics::UserType FPDataRepType
 

Public Member Functions

 Reader (const char *fnm)
 data or info More...
 
 Reader (od_istream &)
 data or info More...
 
 ~Reader ()
 
const uiRetValstate () const
 
BufferString surveyName () const
 
const CubeDatapositions () const
 
int nrComponents () const
 
BoolTypeSetcompSelected ()
 
bool depthInFeet () const
 
void setSelData (const SelData *)
 
bool goTo (const BinID &) const
 
uiRetVal skip (int) const
 
uiRetVal getTrcInfo (SeisTrcInfo &) const
 
uiRetVal getNext (SeisTrc &) const
 
uiRetVal get (const BinID &, SeisTrc &) const
 
void close ()
 early retire More...
 
- Public Member Functions inherited from Seis::Blocks::IOClass
virtual ~IOClass ()
 
virtual const HGeomhGeom () const
 
const ZGeomzGeom () const
 
const ZDomain::DefzDomain () const
 
const Dimensionsdimensions () const
 
SzType version () const
 
const char * cubeName () const
 
const BufferStringSetcomponentNames () const
 
FPDataRepType fPRep () const
 
const LinScalerscaler () const
 
int nrAuxInfo () const
 
const IOPargetAuxInfo (int i) const
 
DataType dataType () const
 
const FilePathbasePath () const
 
BufferString infoFileName () const
 
BufferString dataFileName () const
 
BufferString overviewFileName () const
 

Protected Types

typedef PosInfo::CubeDataPos CubeDataPos
 

Protected Member Functions

void closeStream () const
 
bool reset (uiRetVal &) const
 
bool isSelected (const CubeDataPos &) const
 
bool advancePos (CubeDataPos &) const
 
bool doGoTo (const BinID &, uiRetVal &) const
 
void doGet (SeisTrc &, uiRetVal &) const
 
void fillInfo (const BinID &, SeisTrcInfo &) const
 
FileColumngetColumn (const HGlobIdx &, uiRetVal &) const
 
void readTrace (SeisTrc &, uiRetVal &) const
 
- Protected Member Functions inherited from Seis::Blocks::IOClass
 IOClass ()
 
ColumnfindColumn (const HGlobIdx &) const
 
void addColumn (Column *) const
 
void clearColumns ()
 

Protected Attributes

od_istreamstrm_
 
bool strmmine_
 
SelDataseldata_
 
LinScalerscaler_
 
DataInterpinterp_
 
OffsetTable & offstbl_
 
CubeDatacubedata_
 
CubeDataPoscurcdpos_
 
BufferString survname_
 
bool depthinfeet_
 
BoolTypeSet compsel_
 
uiRetVal state_
 
const Interval< float > zrgintrace_
 
const int nrcomponentsintrace_
 
bool lastopwasgetinfo_
 
- Protected Attributes inherited from Seis::Blocks::IOClass
Threads::Lock accesslock_
 
Pos::IdxPairDataSetcolumns_
 
FilePath basepath_
 
HGeomhgeom_
 
ZGeom zgeom_
 
Dimensions dims_
 
SzType version_
 
BufferString cubename_
 
BufferStringSet compnms_
 
LinScalerscaler_
 
FPDataRepType fprep_
 
ObjectSet< IOParauxiops_
 
DataType datatype_
 
bool needreset_
 

Private Member Functions

 mODTextTranslationClass (Seis::Blocks::Reader)
 
void initFromFileName (const char *)
 
void readInfoFile (od_istream &)
 
bool getGeneralSectionData (const IOPar &)
 
bool getOffsetSectionData (const IOPar &)
 

Friends

class FileColumn
 

Additional Inherited Members

- Static Public Member Functions inherited from Seis::Blocks::IOClass
static BufferString infoFileNameFor (const char *)
 
static BufferString dataFileNameFor (const char *)
 
static const char * sKeyDataFileExt ()
 
static const char * sKeyOvvwFileExt ()
 
static const char * sKeyFileType ()
 
static const char * sKeySectionPre ()
 
static const char * sKeyGenSection ()
 
static const char * sKeyOffSection ()
 
static const char * sKeyPosSection ()
 
static const char * sKeySurveyName ()
 
static const char * sKeyCubeName ()
 
static const char * sKeyFmtVersion ()
 
static const char * sKeyDimensions ()
 
static const char * sKeyGlobInlRg ()
 
static const char * sKeyGlobCrlRg ()
 
static const char * sKeyGlobZRg ()
 
static const char * sKeyComponents ()
 
static const char * sKeyDataType ()
 
static const char * sKeyDepthInFeet ()
 
- Static Protected Member Functions inherited from Seis::Blocks::IOClass
static SzType columnHeaderSize (SzType ver)
 

Detailed Description

Reads data from Blocks Storage. For comments see master branch.

Member Typedef Documentation

Constructor & Destructor Documentation

Seis::Blocks::Reader::Reader ( const char *  fnm)

data or info

Seis::Blocks::Reader::Reader ( od_istream )

data or info

Seis::Blocks::Reader::~Reader ( )

Member Function Documentation

bool Seis::Blocks::Reader::advancePos ( CubeDataPos ) const
protected
void Seis::Blocks::Reader::close ( )

early retire

void Seis::Blocks::Reader::closeStream ( ) const
protected
BoolTypeSet& Seis::Blocks::Reader::compSelected ( )
inline
bool Seis::Blocks::Reader::depthInFeet ( ) const
inline
void Seis::Blocks::Reader::doGet ( SeisTrc ,
uiRetVal  
) const
protected
bool Seis::Blocks::Reader::doGoTo ( const BinID ,
uiRetVal  
) const
protected
void Seis::Blocks::Reader::fillInfo ( const BinID ,
SeisTrcInfo  
) const
protected
uiRetVal Seis::Blocks::Reader::get ( const BinID ,
SeisTrc  
) const
FileColumn* Seis::Blocks::Reader::getColumn ( const HGlobIdx ,
uiRetVal  
) const
protected
bool Seis::Blocks::Reader::getGeneralSectionData ( const IOPar )
private
uiRetVal Seis::Blocks::Reader::getNext ( SeisTrc ) const
bool Seis::Blocks::Reader::getOffsetSectionData ( const IOPar )
private
uiRetVal Seis::Blocks::Reader::getTrcInfo ( SeisTrcInfo ) const
bool Seis::Blocks::Reader::goTo ( const BinID ) const
void Seis::Blocks::Reader::initFromFileName ( const char *  )
private
bool Seis::Blocks::Reader::isSelected ( const CubeDataPos ) const
protected
Seis::Blocks::Reader::mODTextTranslationClass ( Seis::Blocks::Reader  )
private
int Seis::Blocks::Reader::nrComponents ( ) const
inline
const CubeData& Seis::Blocks::Reader::positions ( ) const
inline
void Seis::Blocks::Reader::readInfoFile ( od_istream )
private
void Seis::Blocks::Reader::readTrace ( SeisTrc ,
uiRetVal  
) const
protected
bool Seis::Blocks::Reader::reset ( uiRetVal ) const
protected
void Seis::Blocks::Reader::setSelData ( const SelData )
uiRetVal Seis::Blocks::Reader::skip ( int  ) const
const uiRetVal& Seis::Blocks::Reader::state ( ) const
inline
BufferString Seis::Blocks::Reader::surveyName ( ) const
inline

Friends And Related Function Documentation

friend class FileColumn
friend

Member Data Documentation

BoolTypeSet Seis::Blocks::Reader::compsel_
protected
CubeData& Seis::Blocks::Reader::cubedata_
protected
CubeDataPos& Seis::Blocks::Reader::curcdpos_
protected
bool Seis::Blocks::Reader::depthinfeet_
protected
DataInterp* Seis::Blocks::Reader::interp_
protected
bool Seis::Blocks::Reader::lastopwasgetinfo_
mutableprotected
const int Seis::Blocks::Reader::nrcomponentsintrace_
protected
OffsetTable& Seis::Blocks::Reader::offstbl_
protected
LinScaler* Seis::Blocks::Reader::scaler_
protected
SelData* Seis::Blocks::Reader::seldata_
protected
uiRetVal Seis::Blocks::Reader::state_
protected
od_istream* Seis::Blocks::Reader::strm_
mutableprotected
bool Seis::Blocks::Reader::strmmine_
protected
BufferString Seis::Blocks::Reader::survname_
protected
const Interval<float> Seis::Blocks::Reader::zrgintrace_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019