OpendTect
6.6
|
3200 byte SEG-Y text header. More...
Public Member Functions | |
TxtHeader () | |
TxtHeader (int rev) | |
rev only relevant when writing More... | |
void | clear () |
void | dump (od_ostream &) const |
void | getText (BufferString &) const |
bool | isAscii () const |
void | setAscii () |
void | setEbcdic () |
void | setGeomID (const Pos::GeomID &) |
int | setInfo (const char *datanm, const Coords::CoordSystem *, const TrcHeaderDef &) |
void | setLineStarts () |
void | setPosInfo (const TrcHeaderDef &) |
void | setStartPos (float) |
void | setSurveySetupInfo (const Coords::CoordSystem *) |
void | setText (const char *) |
void | setUserInfo (const char *) |
void | setUserInfo (int firstlinenr, const char *) |
Optional, should be called last. More... | |
Static Public Member Functions | |
static bool & | info2D () |
static bool & | isPS () |
static const char * | sKeySettingEBCDIC () |
Public Attributes | |
unsigned char | txt_ [3200] |
Protected Member Functions | |
void | clearText () |
void | getFrom (int, int, int, char *) const |
void | putAt (int, int, int, const char *) |
int | setGeneralInfo (const char *datanm) |
int | setPosInfo (int firstlinenr, const TrcHeaderDef &) |
int | setSurveySetupInfo (int firstlinenr, const Coords::CoordSystem *) |
Protected Attributes | |
int | revision_ |
3200 byte SEG-Y text header.
On construction, the 'txt' buffer is filled with data for writing the header. If used for reading, fill the buffer yourself and use getFrom.
<>
|
inline |
SEGY::TxtHeader::TxtHeader | ( | int | rev | ) |
rev only relevant when writing
|
inline |
|
protected |
void SEGY::TxtHeader::dump | ( | od_ostream & | ) | const |
|
protected |
void SEGY::TxtHeader::getText | ( | BufferString & | ) | const |
|
static |
bool SEGY::TxtHeader::isAscii | ( | ) | const |
|
static |
|
protected |
void SEGY::TxtHeader::setAscii | ( | ) |
void SEGY::TxtHeader::setEbcdic | ( | ) |
|
protected |
void SEGY::TxtHeader::setGeomID | ( | const Pos::GeomID & | ) |
int SEGY::TxtHeader::setInfo | ( | const char * | datanm, |
const Coords::CoordSystem * | , | ||
const TrcHeaderDef & | |||
) |
void SEGY::TxtHeader::setLineStarts | ( | ) |
void SEGY::TxtHeader::setPosInfo | ( | const TrcHeaderDef & | ) |
|
protected |
void SEGY::TxtHeader::setStartPos | ( | float | ) |
void SEGY::TxtHeader::setSurveySetupInfo | ( | const Coords::CoordSystem * | ) |
|
protected |
void SEGY::TxtHeader::setText | ( | const char * | ) |
void SEGY::TxtHeader::setUserInfo | ( | const char * | ) |
void SEGY::TxtHeader::setUserInfo | ( | int | firstlinenr, |
const char * | |||
) |
Optional, should be called last.
|
inlinestatic |
|
protected |
unsigned char SEGY::TxtHeader::txt_[3200] |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022