OpendTect  6.6
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)
 
void fillPar (IOPar &) const
 
ConstRefMan< Coords::CoordSystemgetCoordSys () const
 
void getReport (IOPar &, bool isrev0) const
 
void setCoordSys (const Coords::CoordSystem *crs)
 
void setForRead (bool)
 
void setSwap (bool hdr, bool data)
 
bool swapData () const
 
bool swapHdrs () const
 , 0=no 1=data only 2=all 3=only hdrs More...
 
bool usePar (const IOPar &)
 

Static Public Member Functions

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

Public Attributes

int byteswap_
 
int fmt_
 
int ns_
 

Protected Attributes

ConstRefMan< Coords::CoordSystemcoordsys_
 
bool forread_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ FilePars()

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

Member Function Documentation

◆ fillPar()

void SEGY::FilePars::fillPar ( IOPar ) const

◆ fmtOf()

static int SEGY::FilePars::fmtOf ( const char *  ,
bool  forread 
)
static

◆ getCoordSys()

ConstRefMan<Coords::CoordSystem> SEGY::FilePars::getCoordSys ( ) const
inline

◆ getFmts()

static const char** SEGY::FilePars::getFmts ( bool  forread)
static

◆ getReport()

void SEGY::FilePars::getReport ( IOPar ,
bool  isrev0 
) const

◆ nameOfFmt()

static const char* SEGY::FilePars::nameOfFmt ( int  fmt,
bool  forread 
)
static

◆ nrFmts()

static int SEGY::FilePars::nrFmts ( bool  forread)
inlinestatic

◆ setCoordSys()

void SEGY::FilePars::setCoordSys ( const Coords::CoordSystem crs)
inline

◆ setForRead()

void SEGY::FilePars::setForRead ( bool  )

◆ setSwap()

void SEGY::FilePars::setSwap ( bool  hdr,
bool  data 
)
inline

◆ sKeyByteSwap()

static const char* SEGY::FilePars::sKeyByteSwap ( )
static

◆ sKeyForceRev0()

static const char* SEGY::FilePars::sKeyForceRev0 ( )
static

◆ sKeyNrSamples()

static const char* SEGY::FilePars::sKeyNrSamples ( )
static

◆ sKeyNumberFormat()

static const char* SEGY::FilePars::sKeyNumberFormat ( )
static

◆ sKeyRevision()

static const char* SEGY::FilePars::sKeyRevision ( )
static

◆ swapData()

bool SEGY::FilePars::swapData ( ) const
inline

◆ swapHdrs()

bool SEGY::FilePars::swapHdrs ( ) const
inline

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

◆ usePar()

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

Member Data Documentation

◆ byteswap_

int SEGY::FilePars::byteswap_

◆ coordsys_

ConstRefMan<Coords::CoordSystem> SEGY::FilePars::coordsys_
protected

◆ fmt_

int SEGY::FilePars::fmt_

◆ forread_

bool SEGY::FilePars::forread_
protected

◆ ns_

int SEGY::FilePars::ns_

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