OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SEGY::TxtHeader Class Reference

3200 byte SEG-Y text header. More...

Public Member Functions

 TxtHeader ()
 
 TxtHeader (int rev)
 rev only relevant when writing More...
 
void clear ()
 
void setUserInfo (const char *)
 
void setSurveySetupInfo (Coords::CoordSystem *)
 
void setPosInfo (const TrcHeaderDef &)
 
void setStartPos (float)
 
void getText (BufferString &) const
 
void setText (const char *)
 
bool isAscii () const
 
void setAscii ()
 
void setEbcdic ()
 
void setLineStarts ()
 
void dump (od_ostream &) const
 

Static Public Member Functions

static bool & info2D ()
 

Public Attributes

unsigned char txt_ [3200]
 

Protected Member Functions

void putAt (int, int, int, const char *)
 
void getFrom (int, int, int, char *) const
 
void clearText ()
 

Protected Attributes

int revision_
 

Detailed Description

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.

Constructor & Destructor Documentation

SEGY::TxtHeader::TxtHeader ( )
inline
SEGY::TxtHeader::TxtHeader ( int  rev)

rev only relevant when writing

Member Function Documentation

void SEGY::TxtHeader::clear ( )
inline
void SEGY::TxtHeader::clearText ( )
protected
void SEGY::TxtHeader::dump ( od_ostream ) const
void SEGY::TxtHeader::getFrom ( int  ,
int  ,
int  ,
char *   
) const
protected
void SEGY::TxtHeader::getText ( BufferString ) const
static bool& SEGY::TxtHeader::info2D ( )
static
bool SEGY::TxtHeader::isAscii ( ) const
void SEGY::TxtHeader::putAt ( int  ,
int  ,
int  ,
const char *   
)
protected
void SEGY::TxtHeader::setAscii ( )
void SEGY::TxtHeader::setEbcdic ( )
void SEGY::TxtHeader::setLineStarts ( )
void SEGY::TxtHeader::setPosInfo ( const TrcHeaderDef )
void SEGY::TxtHeader::setStartPos ( float  )
void SEGY::TxtHeader::setSurveySetupInfo ( Coords::CoordSystem )
void SEGY::TxtHeader::setText ( const char *  )
void SEGY::TxtHeader::setUserInfo ( const char *  )

Member Data Documentation

int SEGY::TxtHeader::revision_
protected
unsigned char SEGY::TxtHeader::txt_[3200]

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019