15 #include "generalmod.h" 29 class FileFormatRepository;
51 , needfullline_(false)
52 , hdrread_(false) { units_.allowNull(
true);}
73 friend class AscIOImp_ExportHandler;
74 friend class AscIOExp_ImportHandler;
76 void emptyVals()
const;
84 const char* text(
int)
const;
85 int getIntValue(
int,
int udf=
mUdf(
int))
const;
86 float getFValue(
int,
float udf=
mUdf(
float))
const;
87 double getDValue(
int,
double udf=
mUdf(
double))
const;
90 Coord getPos(
int xfld,
int yfld,
91 double udf=
mUdf(
double))
const;
93 Coord3 getPos3D(
int xfld,
int yfld,
int zfld,
94 double udf=
mUdf(
double))
const;
95 BinID getBinID(
int xfld,
int yfld,
96 double udf=
mUdf(
double))
const;
98 int formOf(
bool hdr,
int iinf)
const;
99 int columnOf(
bool hdr,
int iinf,
int ielem)
const;
103 {
return getFValue( idx, udf ); }
105 {
return getDValue( idx, udf ); }
119 const IOPar*
get(
const char* grp,
const char* nm)
const;
120 void set(
const char* grp,
const char* nm,
128 FileFormatRepository();
130 const char* grpNm(
int)
const;
131 int gtIdx(
const char*,
const char*)
const;
136 : iopar_(iop), src_(src) {}
145 mGlobal(General) friend FileFormatRepository& FFR();
mDeprecated double getdValue(int idx, double udf=mUdf(double)) const
Definition: tableascio.h:104
#define mExpClass(module)
Definition: commondefs.h:160
uiString errMsg() const
Definition: tableascio.h:56
ObjectSet< const UnitOfMeasure > units_
Definition: tableascio.h:65
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
AscIO(const FormatDesc &fd)
Definition: tableascio.h:46
Repos::Source src_
Definition: tableascio.h:140
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define mGlobal(module)
Definition: commondefs.h:163
bool hdrread_
Definition: tableascio.h:69
Definition: uistring.h:89
Converter * cnvrtr_
Definition: tableascio.h:68
A cartesian coordinate in 2D space.
Definition: coord.h:25
Set of BufferString objects.
Definition: bufstringset.h:28
const FormatDesc & fd_
Definition: tableascio.h:61
Definition: tableascio.h:133
uiString warnmsg_
Definition: tableascio.h:63
OD class for stream read.
Definition: od_istream.h:24
FileFormatRepository & FFR()
Definition: tableconv.h:84
Entry(Repos::Source src, IOPar *iop)
Definition: tableascio.h:135
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Definition: geom2dascio.h:21
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Source
Definition: repos.h:25
bool needfullline_
Definition: tableascio.h:70
uiString errmsg_
Definition: tableascio.h:62
A cartesian coordinate in 3D space.
Definition: coord.h:72
#define mDeprecated
Definition: plfdefs.h:233
BufferStringSet fullline_
Definition: tableascio.h:71
Ascii I/O using Format Description.
Definition: tableascio.h:42
IOPar * iopar_
Definition: tableascio.h:139
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
BufferString errmsg_
Definition: horizontracker.h:119
Definition: tableconv.h:55
uiString warnMsg() const
Definition: tableascio.h:57
mDeprecated float getfValue(int idx, float udf=mUdf(float)) const
Definition: tableascio.h:102
Definition: tableconv.h:24
const FormatDesc & desc() const
Definition: tableascio.h:55
Unit of Measure.
Definition: unitofmeasure.h:35
ImportHandler * imphndlr_
Definition: tableascio.h:66
ExportHandler * exphndlr_
Definition: tableascio.h:67
BufferStringSet vals_
Definition: tableascio.h:64