OpendTect
6.6
|
describes one tape or trace header field, More...
Public Types | |
typedef short | BytePos |
enum | DataType { SInt , UInt , Float } |
Public Member Functions | |
HdrEntry (const char *desc, const char *nm, BytePos bp=udfBP(), bool issmall=false, DataType dt=SInt) | |
HdrEntry (const HdrEntry &he) | |
int | byteSize () const |
const char * | description () const |
void | fillPar (IOPar &, const char *ky) const |
int | getValue (const void *buf, bool swapped=false) const |
bool | isInternal () const |
bool | isUdf () const |
const char * | name () const |
HdrEntry & | operator= (const HdrEntry &) |
void | putValue (void *buf, int) const |
void | removeFromPar (IOPar &, const char *ky) const |
void | setDescription (const char *) |
void | setName (const char *) |
void | setUdf () |
void | usePar (const IOPar &, const char *ky, const HdrDef *hd=0) |
bool | usesByte (BytePos b) const |
Public Attributes | |
BytePos | bytepos_ |
bool | issmall_ |
DataType | type_ |
Static Protected Member Functions | |
static BytePos | udfBP () |
Protected Attributes | |
BufferString | desc_ |
BufferString | name_ |
describes one tape or trace header field,
Note: it is important to know whether your HdrEntry is in 'internal' or in 'user' format. The difference is 1 byte. For example, tracr is at byte 4 of the trace header, but users need to see 5. The reasone we don't always use internal entries is that some things have to be directly stored in user settings.
<>
typedef short SEGY::HdrEntry::BytePos |
|
inline |
|
inline |
|
inline |
const char* SEGY::HdrEntry::description | ( | ) | const |
void SEGY::HdrEntry::fillPar | ( | IOPar & | , |
const char * | ky | ||
) | const |
int SEGY::HdrEntry::getValue | ( | const void * | buf, |
bool | swapped = false |
||
) | const |
|
inline |
|
inline |
const char* SEGY::HdrEntry::name | ( | ) | const |
void SEGY::HdrEntry::putValue | ( | void * | buf, |
int | |||
) | const |
void SEGY::HdrEntry::removeFromPar | ( | IOPar & | , |
const char * | ky | ||
) | const |
void SEGY::HdrEntry::setDescription | ( | const char * | ) |
void SEGY::HdrEntry::setName | ( | const char * | ) |
|
inline |
|
inlinestaticprotected |
|
inline |
BytePos SEGY::HdrEntry::bytepos_ |
|
protected |
bool SEGY::HdrEntry::issmall_ |
|
protected |
DataType SEGY::HdrEntry::type_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022