Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

SEGY::DirectDef Class Reference

List of all members.

Public Member Functions

 DirectDef ()
 Create empty.
 DirectDef (const char *)
 Read from file.
 ~DirectDef ()
bool readFromFile (const char *)
const IOParsegyPars () const
FileDataSet::TrcIdx find (const Seis::PosKey &, bool chkoffs) const
FixedString fileName (int idx) const
void setData (FileDataSet &)
bool writeHeadersToFile (const char *)
std::ostream * getOutputStream ()
bool writeFootersToFile ()
const char * 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 * sKeyInt64DataChar ()
static const char * sKeyInt32DataChar ()
static const char * sKeyFloatDataChar ()
static const char * get2DFileName (const char *, const char *)

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_
BufferString errmsg_
StreamDataoutstreamdata_
od_int64 offsetstart_
od_int64 datastart_
od_int64 textparstart_
od_int64 cubedatastart_
od_int64 indexstart_

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]
const char* SEGY::DirectDef::errMsg (  )  const [inline]
FixedString SEGY::DirectDef::fileName ( int  idx  )  const
FileDataSet::TrcIdx SEGY::DirectDef::find ( const Seis::PosKey ,
bool  chkoffs 
) const
static const char* SEGY::DirectDef::get2DFileName ( const char *  ,
const char *   
) [static]
std::ostream* SEGY::DirectDef::getOutputStream (  ) 
void SEGY::DirectDef::getPosData ( PosInfo::CubeData  )  const [protected]
void SEGY::DirectDef::getPosData ( PosInfo::Line2DData  )  const [protected]
const PosInfo::Line2DData& SEGY::DirectDef::lineData (  )  const [inline]
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::sKeyNrFiles (  )  [static]
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

od_int64 SEGY::DirectDef::cubedatastart_ [protected]
od_int64 SEGY::DirectDef::datastart_ [protected]
BufferString SEGY::DirectDef::errmsg_ [mutable, protected]
const FileDataSet* SEGY::DirectDef::fds_ [protected]
od_int64 SEGY::DirectDef::indexstart_ [protected]
SEGY::PosKeyList* SEGY::DirectDef::keylist_ [protected]
od_int64 SEGY::DirectDef::offsetstart_ [protected]
od_int64 SEGY::DirectDef::textparstart_ [protected]