OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SEGY::BasicFileInfo Class Reference

Basic data from a SEG-Y fle. More...

Inheritance diagram for SEGY::BasicFileInfo:
[legend]

Public Member Functions

 BasicFileInfo ()
 
virtual ~BasicFileInfo ()
 
int bytesPerSample () const
 
DataCharacteristics getDataChar () const
 
virtual void getFilePars (FilePars &) const
 
uiString getFrom (od_istream &, bool &zinft, const bool *knownhdrswap=0)
 
TrcHeadergetTrcHdr (od_istream &) const
 
StepInterval< float > getZRange () const
 
bool goToTrace (od_istream &, od_stream_Pos, int) const
 
void init ()
 
bool isRev0 () const
 
bool isValid () const
 
int nrTracesIn (const od_istream &, od_stream_Pos p=-1) const
 
int traceDataBytes () const
 

Public Attributes

int binsr_
 
bool dataswapped_
 
short format_
 
bool hdrsswapped_
 
int ns_
 
int revision_
 
SamplingData< float > sampling_
 
int thdrns_
 
bool useformatinfile_ = true
 
bool usenrsampsinfile_ = true
 

Protected Member Functions

virtual const TrcHeaderDefgetHDef () const
 

Detailed Description

Basic data from a SEG-Y fle.

<>

Constructor & Destructor Documentation

◆ BasicFileInfo()

SEGY::BasicFileInfo::BasicFileInfo ( )

◆ ~BasicFileInfo()

virtual SEGY::BasicFileInfo::~BasicFileInfo ( )
virtual

Member Function Documentation

◆ bytesPerSample()

int SEGY::BasicFileInfo::bytesPerSample ( ) const

◆ getDataChar()

DataCharacteristics SEGY::BasicFileInfo::getDataChar ( ) const

◆ getFilePars()

virtual void SEGY::BasicFileInfo::getFilePars ( FilePars ) const
virtual

Reimplemented in SEGY::LoadDef.

◆ getFrom()

uiString SEGY::BasicFileInfo::getFrom ( od_istream ,
bool &  zinft,
const bool *  knownhdrswap = 0 
)

try returned isEmpty(), if not error occurred on success leaves stream at start of first trace

◆ getHDef()

virtual const TrcHeaderDef& SEGY::BasicFileInfo::getHDef ( ) const
protectedvirtual

Reimplemented in SEGY::LoadDef.

◆ getTrcHdr()

TrcHeader* SEGY::BasicFileInfo::getTrcHdr ( od_istream ) const

◆ getZRange()

StepInterval<float> SEGY::BasicFileInfo::getZRange ( ) const
inline

◆ goToTrace()

bool SEGY::BasicFileInfo::goToTrace ( od_istream ,
od_stream_Pos  ,
int   
) const

◆ init()

void SEGY::BasicFileInfo::init ( )

◆ isRev0()

bool SEGY::BasicFileInfo::isRev0 ( ) const
inline

◆ isValid()

bool SEGY::BasicFileInfo::isValid ( ) const
inline

◆ nrTracesIn()

int SEGY::BasicFileInfo::nrTracesIn ( const od_istream ,
od_stream_Pos  p = -1 
) const

◆ traceDataBytes()

int SEGY::BasicFileInfo::traceDataBytes ( ) const

Member Data Documentation

◆ binsr_

int SEGY::BasicFileInfo::binsr_

◆ dataswapped_

bool SEGY::BasicFileInfo::dataswapped_

◆ format_

short SEGY::BasicFileInfo::format_

◆ hdrsswapped_

bool SEGY::BasicFileInfo::hdrsswapped_

◆ ns_

int SEGY::BasicFileInfo::ns_

◆ revision_

int SEGY::BasicFileInfo::revision_

◆ sampling_

SamplingData<float> SEGY::BasicFileInfo::sampling_

◆ thdrns_

int SEGY::BasicFileInfo::thdrns_

◆ useformatinfile_

bool SEGY::BasicFileInfo::useformatinfile_ = true

◆ usenrsampsinfile_

bool SEGY::BasicFileInfo::usenrsampsinfile_ = true

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