OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
EM::Horizon3DAscIO Class Reference

Ascii I/O for Horizon3D. More...

Inheritance diagram for EM::Horizon3DAscIO:
[legend]

Public Member Functions

 Horizon3DAscIO (const Table::FormatDesc &fd, const char *filenm)
 
int getNextLine (Coord &, TypeSet< float > &)
 
const UnitOfMeasuregetSelZUnit () const
 
bool isOK () const
 
bool isXY () const
 
- Public Member Functions inherited from Table::AscIO
 AscIO (const FormatDesc &fd)
 
virtual ~AscIO ()
 
const FormatDescdesc () const
 
uiString errMsg () const
 
double getdValue (int idx, double udf=mUdf(double)) const
 
float getfValue (int idx, float udf=mUdf(float)) const
 
const char * text (int ifld) const
 
uiString warnMsg () const
 

Static Public Member Functions

static void createDescBody (Table::FormatDesc *, const BufferStringSet &)
 
static Table::FormatDescgetDesc ()
 
static const char * sKeyAttribFormatStr ()
 
static const char * sKeyFormatStr ()
 
static void updateDesc (Table::FormatDesc &, const BufferStringSet &)
 

Protected Attributes

bool finishedreadingheader_
 
od_istream strm_
 
float udfval_
 
- Protected Attributes inherited from Table::AscIO
Convertercnvrtr_
 
uiString errmsg_
 
ExportHandlerexphndlr_
 
const FormatDescfd_
 
BufferStringSet fullline_
 
bool hdrread_
 
ImportHandlerimphndlr_
 
bool needfullline_
 
ObjectSet< const UnitOfMeasureunits_
 
BufferStringSet vals_
 
uiString warnmsg_
 

Additional Inherited Members

- Protected Member Functions inherited from Table::AscIO
void addVal (const char *, const UnitOfMeasure *) const
 
int columnOf (bool hdr, int iinf, int ielem) const
 
void emptyVals () const
 
int formOf (bool hdr, int iinf) const
 
BinID getBinID (int xfld, int yfld, double udf=mUdf(double)) const
 
double getDValue (int, double udf=mUdf(double)) const
 
float getFValue (int, float udf=mUdf(float)) const
 
bool getHdrVals (od_istream &) const
 
int getIntValue (int, int udf=mUdf(int)) const
 
int getNextBodyVals (od_istream &) const
 Executor convention. More...
 
Coord getPos (int xfld, int yfld, double udf=mUdf(double)) const
 
Coord3 getPos3D (int xfld, int yfld, int zfld, double udf=mUdf(double)) const
 
BufferString getText (int) const
 
bool putHdrVals (od_ostream &) const
 
bool putNextBodyVals (od_ostream &) const
 

Detailed Description

Ascii I/O for Horizon3D.

<>

Constructor & Destructor Documentation

◆ Horizon3DAscIO()

EM::Horizon3DAscIO::Horizon3DAscIO ( const Table::FormatDesc fd,
const char *  filenm 
)
inline

Member Function Documentation

◆ createDescBody()

static void EM::Horizon3DAscIO::createDescBody ( Table::FormatDesc ,
const BufferStringSet  
)
static

◆ getDesc()

static Table::FormatDesc* EM::Horizon3DAscIO::getDesc ( )
static

◆ getNextLine()

int EM::Horizon3DAscIO::getNextLine ( Coord ,
TypeSet< float > &   
)

◆ getSelZUnit()

const UnitOfMeasure* EM::Horizon3DAscIO::getSelZUnit ( ) const

◆ isOK()

bool EM::Horizon3DAscIO::isOK ( ) const
inline

◆ isXY()

bool EM::Horizon3DAscIO::isXY ( ) const

◆ sKeyAttribFormatStr()

static const char* EM::Horizon3DAscIO::sKeyAttribFormatStr ( )
static

◆ sKeyFormatStr()

static const char* EM::Horizon3DAscIO::sKeyFormatStr ( )
static

◆ updateDesc()

static void EM::Horizon3DAscIO::updateDesc ( Table::FormatDesc ,
const BufferStringSet  
)
static

Member Data Documentation

◆ finishedreadingheader_

bool EM::Horizon3DAscIO::finishedreadingheader_
protected

◆ strm_

od_istream EM::Horizon3DAscIO::strm_
protected

◆ udfval_

float EM::Horizon3DAscIO::udfval_
protected

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