OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Geom2dAscIO Class Reference

Ascii I/O for 2D Geometry. More...

Inheritance diagram for Geom2dAscIO:
[legend]

Public Member Functions

 Geom2dAscIO (const Table::FormatDesc &, od_istream &)
 
bool getData (ObjectSet< Survey::Geometry2D > &) const
 
bool getData (PosInfo::Line2DData &)
 
bool getData (Survey::Geometry2D &) 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 fillDesc (Table::FormatDesc &, bool withline)
 
static Table::FormatDescgetDesc (bool withline=false)
 

Protected Member Functions

bool readLine (int startidx, Coord &, int &trcnr, float &spnr, bool isxy, bool conv) const
 
- 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
 

Protected Attributes

od_istreamstrm_
 
- 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_
 

Detailed Description

Ascii I/O for 2D Geometry.

<>

Constructor & Destructor Documentation

◆ Geom2dAscIO()

Geom2dAscIO::Geom2dAscIO ( const Table::FormatDesc ,
od_istream  
)

Member Function Documentation

◆ fillDesc()

static void Geom2dAscIO::fillDesc ( Table::FormatDesc ,
bool  withline 
)
static

◆ getData() [1/3]

bool Geom2dAscIO::getData ( ObjectSet< Survey::Geometry2D > &  ) const

◆ getData() [2/3]

bool Geom2dAscIO::getData ( PosInfo::Line2DData )

◆ getData() [3/3]

bool Geom2dAscIO::getData ( Survey::Geometry2D ) const

◆ getDesc()

static Table::FormatDesc* Geom2dAscIO::getDesc ( bool  withline = false)
static

◆ readLine()

bool Geom2dAscIO::readLine ( int  startidx,
Coord ,
int &  trcnr,
float &  spnr,
bool  isxy,
bool  conv 
) const
protected

Member Data Documentation

◆ strm_

od_istream& Geom2dAscIO::strm_
protected

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