OpendTect  7.0
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 (bool is2d)
 
 BasicFileInfo (const BasicFileInfo &)
 
virtual ~BasicFileInfo ()
 
int bytesPerSample () const
 
DataCharacteristics getDataChar () const
 
virtual void getFilePars (FilePars &) const
 
uiString getFrom (od_istream &, bool &zinft, const bool *knownhdrswap=nullptr)
 
TrcHeadergetTrcHdr (od_istream &) const
 
StepInterval< float > getZRange () const
 
bool goToTrace (od_istream &, od_stream_Pos, int) const
 
void init (bool is2d)
 
bool isRev0 () const
 
bool isValid () const
 
int nrTracesIn (const od_istream &, od_stream_Pos p=-1) const
 
BasicFileInfooperator= (const BasicFileInfo &)
 
int traceDataBytes () const
 

Public Attributes

int binsr_
 
RefMan< Coords::CoordSystemcoordsystem_
 
bool dataswapped_
 
short format_
 
bool hdrsswapped_
 
bool is2d_
 
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() [1/2]

SEGY::BasicFileInfo::BasicFileInfo ( bool  is2d)

◆ BasicFileInfo() [2/2]

SEGY::BasicFileInfo::BasicFileInfo ( const 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 = nullptr 
)

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 ( bool  is2d)

◆ 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

◆ operator=()

BasicFileInfo& SEGY::BasicFileInfo::operator= ( const BasicFileInfo )

◆ traceDataBytes()

int SEGY::BasicFileInfo::traceDataBytes ( ) const

Member Data Documentation

◆ binsr_

int SEGY::BasicFileInfo::binsr_

◆ coordsystem_

RefMan<Coords::CoordSystem> SEGY::BasicFileInfo::coordsystem_

◆ dataswapped_

bool SEGY::BasicFileInfo::dataswapped_

◆ format_

short SEGY::BasicFileInfo::format_

◆ hdrsswapped_

bool SEGY::BasicFileInfo::hdrsswapped_

◆ is2d_

bool SEGY::BasicFileInfo::is2d_

◆ 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-2024