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

SEGY::TrcHeader Class Reference

List of all members.

Classes

struct  Val

Public Member Functions

 TrcHeader (unsigned char *, bool rev1, const TrcHeaderDef &)
void initRead ()
 must call once before first usage
unsigned short nrSamples () const
void putSampling (SamplingData< float >, unsigned short)
void use (const SeisTrcInfo &)
void fill (SeisTrcInfo &, float) const
void setNeedSwap (bool yn=true)
float postScale (int numbfmt) const
Coord getCoord (bool rcv, float extcoordsc)
void dump (std::ostream &) const
Val getVal (int) const

Static Public Member Functions

static int nrVals ()
static int nrStdVals ()

Public Attributes

unsigned char * buf
const TrcHeaderDefhdef
bool isrev1
bool isusable
bool nonrectcoords

Protected Member Functions

double getCoordScale (float extcoordsc) const

Protected Attributes

bool needswap
int previnl
int seqnr
int lineseqnr

Constructor & Destructor Documentation

SEGY::TrcHeader::TrcHeader ( unsigned char *  ,
bool  rev1,
const TrcHeaderDef  
)

Member Function Documentation

void SEGY::TrcHeader::dump ( std::ostream &   )  const
void SEGY::TrcHeader::fill ( SeisTrcInfo ,
float   
) const
Coord SEGY::TrcHeader::getCoord ( bool  rcv,
float  extcoordsc 
)
double SEGY::TrcHeader::getCoordScale ( float  extcoordsc  )  const [protected]
Val SEGY::TrcHeader::getVal ( int   )  const
void SEGY::TrcHeader::initRead (  ) 

must call once before first usage

unsigned short SEGY::TrcHeader::nrSamples (  )  const
static int SEGY::TrcHeader::nrStdVals (  )  [inline, static]
static int SEGY::TrcHeader::nrVals (  )  [inline, static]
float SEGY::TrcHeader::postScale ( int  numbfmt  )  const
void SEGY::TrcHeader::putSampling ( SamplingData< float >  ,
unsigned  short 
)
void SEGY::TrcHeader::setNeedSwap ( bool  yn = true  )  [inline]
void SEGY::TrcHeader::use ( const SeisTrcInfo  ) 

Member Data Documentation

unsigned char* SEGY::TrcHeader::buf
int SEGY::TrcHeader::lineseqnr [protected]
bool SEGY::TrcHeader::needswap [protected]
int SEGY::TrcHeader::previnl [protected]
int SEGY::TrcHeader::seqnr [protected]