OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SEGY::DirectDef Class Reference

Public Member Functions

 DirectDef ()
 Create empty. More...
 
 DirectDef (const char *)
 Read from file. More...
 
 ~DirectDef ()
 
bool isEmpty () const
 
bool readFromFile (const char *)
 
const IOParsegyPars () const
 
FixedString fileName (int idx) const
 
FileDataSet::TrcIdx find (const Seis::PosKey &, bool chkoffs) const
 
FileDataSet::TrcIdx findOcc (const Seis::PosKey &, int occ) const
 will not look at offset More...
 
void setData (FileDataSet &)
 
bool writeHeadersToFile (const char *)
 
od_ostreamgetOutputStream ()
 
bool writeFootersToFile ()
 
const FileDataSetfileDataSet () const
 
uiString errMsg () const
 
const PosInfo::CubeDatacubeData () const
 
const PosInfo::Line2DDatalineData () const
 

Static Public Member Functions

static const char * sKeyDirectDef ()
 
static const char * sKeyFileType ()
 
static const char * sKeyNrFiles ()
 
static const char * sKeyIOCompr ()
 
static const char * sKeyInt64DataChar ()
 
static const char * sKeyInt32DataChar ()
 
static const char * sKeyFloatDataChar ()
 
static const char * get2DFileName (const char *, const char *)
 
static const char * get2DFileName (const char *, Pos::GeomID)
 
static bool readFooter (const char *fnm, IOPar &, od_stream_Pos &)
 
static bool updateFooter (const char *, const IOPar &, od_stream_Pos)
 

Protected Member Functions

void getPosData (PosInfo::CubeData &) const
 
void getPosData (PosInfo::Line2DData &) const
 

Protected Attributes

PosInfo::CubeDatacubedata_
 
PosInfo::Line2DDatalinedata_
 
const FileDataSetfds_
 
FileDataSetmyfds_
 
SEGY::PosKeyList * keylist_
 
Seis::PosIndexerindexer_
 
uiString errmsg_
 
od_ostreamoutstream_
 
od_stream_Pos offsetstart_
 
od_stream_Pos datastart_
 
od_stream_Pos cubedatastart_
 
od_stream_Pos indexstart_
 
od_stream_Pos finalparstart_
 

Private Member Functions

 mODTextTranslationClass (DirectDef)
 

Detailed Description

Constructor & Destructor Documentation

SEGY::DirectDef::DirectDef ( )

Create empty.

SEGY::DirectDef::DirectDef ( const char *  )

Read from file.

SEGY::DirectDef::~DirectDef ( )

Member Function Documentation

const PosInfo::CubeData& SEGY::DirectDef::cubeData ( ) const
inline
uiString SEGY::DirectDef::errMsg ( ) const
inline
const FileDataSet& SEGY::DirectDef::fileDataSet ( ) const
inline
FixedString SEGY::DirectDef::fileName ( int  idx) const
FileDataSet::TrcIdx SEGY::DirectDef::find ( const Seis::PosKey ,
bool  chkoffs 
) const
FileDataSet::TrcIdx SEGY::DirectDef::findOcc ( const Seis::PosKey ,
int  occ 
) const

will not look at offset

static const char* SEGY::DirectDef::get2DFileName ( const char *  ,
const char *   
)
static
static const char* SEGY::DirectDef::get2DFileName ( const char *  ,
Pos::GeomID   
)
static
od_ostream* SEGY::DirectDef::getOutputStream ( )
inline
void SEGY::DirectDef::getPosData ( PosInfo::CubeData ) const
protected
void SEGY::DirectDef::getPosData ( PosInfo::Line2DData ) const
protected
bool SEGY::DirectDef::isEmpty ( ) const
const PosInfo::Line2DData& SEGY::DirectDef::lineData ( ) const
inline
SEGY::DirectDef::mODTextTranslationClass ( DirectDef  )
private
static bool SEGY::DirectDef::readFooter ( const char *  fnm,
IOPar ,
od_stream_Pos  
)
static

Reads the Footer into an IOPar

bool SEGY::DirectDef::readFromFile ( const char *  )
const IOPar* SEGY::DirectDef::segyPars ( ) const
void SEGY::DirectDef::setData ( FileDataSet )
static const char* SEGY::DirectDef::sKeyDirectDef ( )
static
static const char* SEGY::DirectDef::sKeyFileType ( )
static
static const char* SEGY::DirectDef::sKeyFloatDataChar ( )
static
static const char* SEGY::DirectDef::sKeyInt32DataChar ( )
static
static const char* SEGY::DirectDef::sKeyInt64DataChar ( )
static
static const char* SEGY::DirectDef::sKeyIOCompr ( )
static
static const char* SEGY::DirectDef::sKeyNrFiles ( )
static
static bool SEGY::DirectDef::updateFooter ( const char *  ,
const IOPar ,
od_stream_Pos   
)
static

Updates the Footer IOPar in an existing def file

bool SEGY::DirectDef::writeFootersToFile ( )

After fds has been dumped, write the remainder of the file

bool SEGY::DirectDef::writeHeadersToFile ( const char *  )

Write the headers. After calling, the fds should be dumped into the stream.

Member Data Documentation

PosInfo::CubeData& SEGY::DirectDef::cubedata_
protected
od_stream_Pos SEGY::DirectDef::cubedatastart_
protected
od_stream_Pos SEGY::DirectDef::datastart_
protected
uiString SEGY::DirectDef::errmsg_
mutableprotected
const FileDataSet* SEGY::DirectDef::fds_
protected
od_stream_Pos SEGY::DirectDef::finalparstart_
protected
Seis::PosIndexer* SEGY::DirectDef::indexer_
protected
od_stream_Pos SEGY::DirectDef::indexstart_
protected
SEGY::PosKeyList* SEGY::DirectDef::keylist_
protected
PosInfo::Line2DData& SEGY::DirectDef::linedata_
protected
FileDataSet* SEGY::DirectDef::myfds_
protected
od_stream_Pos SEGY::DirectDef::offsetstart_
protected
od_ostream* SEGY::DirectDef::outstream_
protected

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