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

Public Member Functions

 FilePars (bool forread=true)
 
bool swapHdrs () const
 , 0=no 1=data only 2=all 3=only hdrs More...
 
bool swapData () const
 
void setSwap (bool hdr, bool data)
 
void setForRead (bool)
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
void getReport (IOPar &, bool isrev0) const
 
void setCoordSys (const Coords::CoordSystem *crs)
 
ConstRefMan< Coords::CoordSystemgetCoordSys () const
 

Static Public Member Functions

static int nrFmts (bool forread)
 
static const char ** getFmts (bool forread)
 
static const char * nameOfFmt (int fmt, bool forread)
 
static int fmtOf (const char *, bool forread)
 
static const char * sKeyForceRev0 ()
 
static const char * sKeyRevision ()
 
static const char * sKeyNrSamples ()
 
static const char * sKeyNumberFormat ()
 
static const char * sKeyByteSwap ()
 

Public Attributes

int ns_
 
int fmt_
 
int byteswap_
 

Protected Attributes

bool forread_
 
ConstRefMan< Coords::CoordSystemcoordsys_
 

Detailed Description

Constructor & Destructor Documentation

SEGY::FilePars::FilePars ( bool  forread = true)
inline

Member Function Documentation

void SEGY::FilePars::fillPar ( IOPar ) const
static int SEGY::FilePars::fmtOf ( const char *  ,
bool  forread 
)
static
ConstRefMan<Coords::CoordSystem> SEGY::FilePars::getCoordSys ( ) const
inline
static const char** SEGY::FilePars::getFmts ( bool  forread)
static
void SEGY::FilePars::getReport ( IOPar ,
bool  isrev0 
) const
static const char* SEGY::FilePars::nameOfFmt ( int  fmt,
bool  forread 
)
static
static int SEGY::FilePars::nrFmts ( bool  forread)
inlinestatic
void SEGY::FilePars::setCoordSys ( const Coords::CoordSystem crs)
inline
void SEGY::FilePars::setForRead ( bool  )
void SEGY::FilePars::setSwap ( bool  hdr,
bool  data 
)
inline
static const char* SEGY::FilePars::sKeyByteSwap ( )
static
static const char* SEGY::FilePars::sKeyForceRev0 ( )
static
static const char* SEGY::FilePars::sKeyNrSamples ( )
static
static const char* SEGY::FilePars::sKeyNumberFormat ( )
static
static const char* SEGY::FilePars::sKeyRevision ( )
static
bool SEGY::FilePars::swapData ( ) const
inline
bool SEGY::FilePars::swapHdrs ( ) const
inline

, 0=no 1=data only 2=all 3=only hdrs

bool SEGY::FilePars::usePar ( const IOPar )

Member Data Documentation

int SEGY::FilePars::byteswap_
ConstRefMan<Coords::CoordSystem> SEGY::FilePars::coordsys_
protected
int SEGY::FilePars::fmt_
bool SEGY::FilePars::forread_
protected
int SEGY::FilePars::ns_

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