OpendTect
7.0
|
3200 byte SEG-Y text header. More...
Public Member Functions | |
TxtHeader () | |
TxtHeader (int rev) | |
rev only relevant when writing More... | |
~TxtHeader () | |
void | clear () |
void | dump (od_ostream &) const |
RefMan< Coords::CoordSystem > | getCoordSystem (const char *filenm=nullptr) const |
void | getText (BufferString &) const |
bool | isAscii () const |
void | setAscii () |
void | setEbcdic () |
void | setGeomID (const Pos::GeomID &) |
void | setGeomType (Seis::GeomType tp) |
Used when writing header. More... | |
int | setInfo (const char *datanm, const Coords::CoordSystem *, const TrcHeaderDef &) |
void | setLineStarts () |
void | setText (const char *) |
void | setUserInfo (int firstlinenr, const char *) |
Optional, should be called last. More... | |
Static Public Member Functions | |
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 row, int startpos, int endpos, const char *txt) |
int | setGeneralInfo (const char *datanm) |
int | setPosInfo (int firstlinenr, const TrcHeaderDef &) |
int | setSurveySetupInfo (int firstlinenr, const Coords::CoordSystem *) |
Static Protected Member Functions | |
static RefMan< Coords::CoordSystem > | getCoordSystemFrom (const char *filenm) |
Protected Attributes | |
Seis::GeomType | geomtype_ = Seis::Vol |
int | revision_ = 1 |
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.
<>
SEGY::TxtHeader::TxtHeader | ( | ) |
SEGY::TxtHeader::TxtHeader | ( | int | rev | ) |
rev only relevant when writing
SEGY::TxtHeader::~TxtHeader | ( | ) |
void SEGY::TxtHeader::clear | ( | ) |
|
protected |
void SEGY::TxtHeader::dump | ( | od_ostream & | ) | const |
RefMan<Coords::CoordSystem> SEGY::TxtHeader::getCoordSystem | ( | const char * | filenm = nullptr | ) | const |
|
staticprotected |
|
protected |
void SEGY::TxtHeader::getText | ( | BufferString & | ) | const |
bool SEGY::TxtHeader::isAscii | ( | ) | const |
|
protected |
void SEGY::TxtHeader::setAscii | ( | ) |
void SEGY::TxtHeader::setEbcdic | ( | ) |
|
protected |
void SEGY::TxtHeader::setGeomID | ( | const Pos::GeomID & | ) |
|
inline |
Used when writing header.
int SEGY::TxtHeader::setInfo | ( | const char * | datanm, |
const Coords::CoordSystem * | , | ||
const TrcHeaderDef & | |||
) |
void SEGY::TxtHeader::setLineStarts | ( | ) |
|
protected |
|
protected |
void SEGY::TxtHeader::setText | ( | const char * | ) |
void SEGY::TxtHeader::setUserInfo | ( | int | firstlinenr, |
const char * | |||
) |
Optional, should be called last.
|
inlinestatic |
|
protected |
|
protected |
unsigned char SEGY::TxtHeader::txt_[3200] |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024