OpendTect
6.6
|
400 byte SEG-Y binary header
More...
Public Member Functions | |
BinHeader () | |
unsigned char * | buf () |
const unsigned char * | buf () const |
int | bytesPerSample () const |
void | dump (od_ostream &) const |
int | entryVal (int idx) const |
short | format () const |
void | guessIsSwapped () |
bool | isInFeet () const |
bool | isRev0 () const |
bool | isSwapped () const |
int | nrSamples () const |
int | rawSampleRate () const |
int | revision () const |
float | sampleRate (bool isdpth) const |
void | setEntryVal (int idx, int val) |
void | setFormat (short i) |
void | setForWrite () |
void | setInFeet (bool yn) |
void | setInput (const void *, bool needswap=false) |
void | setIsSwapped (bool yn) |
void | setNrSamples (int i) |
void | setSampleRate (float, bool isdpth) |
void | setValueAt (int bytenr, int) |
int | skipRev1Stanzas (od_istream &) |
returns number skipped More... | |
void | unSwap () |
int | valueAt (int bytenr) |
Static Public Member Functions | |
static int | EntryDt () |
static int | EntryFmt () |
static int | EntryJobID () |
static int | EntryLino () |
static int | EntryMFeet () |
static int | EntryNs () |
static int | EntryRevCode () |
static int | EntryTsort () |
static int | formatBytes (int frmt) |
static DataCharacteristics | getDataChar (int frmt, bool dataswapped) |
static const HdrDef & | hdrDef () |
static bool | isValidFormat (int f) |
Protected Attributes | |
unsigned char | buf_ [400] |
bool | forwrite_ |
bool | needswap_ |
400 byte SEG-Y binary header
<>
SEGY::BinHeader::BinHeader | ( | ) |
|
inline |
|
inline |
|
inline |
void SEGY::BinHeader::dump | ( | od_ostream & | ) | const |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
static |
void SEGY::BinHeader::guessIsSwapped | ( | ) |
|
static |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
int SEGY::BinHeader::revision | ( | ) | const |
float SEGY::BinHeader::sampleRate | ( | bool | isdpth | ) | const |
|
inline |
|
inline |
void SEGY::BinHeader::setForWrite | ( | ) |
|
inline |
void SEGY::BinHeader::setInput | ( | const void * | , |
bool | needswap = false |
||
) |
|
inline |
|
inline |
void SEGY::BinHeader::setSampleRate | ( | float | , |
bool | isdpth | ||
) |
void SEGY::BinHeader::setValueAt | ( | int | bytenr, |
int | |||
) |
int SEGY::BinHeader::skipRev1Stanzas | ( | od_istream & | ) |
returns number skipped
void SEGY::BinHeader::unSwap | ( | ) |
int SEGY::BinHeader::valueAt | ( | int | bytenr | ) |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022