35 :
File::MultiSpec(fnm) {}
37 :
File::MultiSpec(iop) {}
39 IOObj* getIOObj(
bool temporary)
const;
41 static void fillParFromIOObj(
const IOObj&,
IOPar&);
55 , forread_(forread) {}
61 bool swapHdrs()
const {
return byteswap_ > 1; }
63 {
return byteswap_ == 1 || byteswap_ == 2; }
65 { byteswap_ = hdr ? (data?2:3) : (data?1:0); }
67 static int nrFmts(
bool forread ) {
return forread ? 6 : 5; }
68 static const char** getFmts(
bool forread);
69 static const char* nameOfFmt(
int fmt,
bool forread);
70 static int fmtOf(
const char*,
bool forread);
72 static const char* sKeyForceRev0();
73 static const char* sKeyRevision();
74 static const char* sKeyNrSamples();
75 static const char* sKeyNumberFormat();
76 static const char* sKeyByteSwap();
78 void setForRead(
bool);
82 void getReport(
IOPar&,
bool isrev0)
const;
125 float timeShift(
float)
const;
126 float sampleIntv(
float)
const;
128 static const char* sKeyCoordScale();
129 static const char* sKeyTimeShift();
130 static const char* sKeySampleIntv();
131 static const char* sKeyICOpt();
132 static const char* sKeyHaveTrcNrs();
133 static const char* sKeyTrcNrDef();
134 static const char* sKeyPSOpt();
135 static const char* sKeyOffsDef();
136 static const char* sKeyCoordOpt();
137 static const char* sKeyCoordStart();
138 static const char* sKeyCoordStep();
139 static const char* sKeyCoordFileName();
143 void getReport(
IOPar&,
bool isrev0)
const;
144 static void shallowClear(
IOPar&);
162 , coordscale_(1.0f) { reset(); }
float coordscale_
Definition: segyfiledef.h:170
#define mExpClass(module)
Definition: commondefs.h:157
Interface for several file and directory related services.
Definition: file.h:29
Seismics.
Definition: segydirectdef.h:20
ICvsXYType icdef_
Definition: segyfiledef.h:111
SamplingData< float > def_
Definition: segyfiledef.h:168
BufferString coordfnm_
Definition: segyfiledef.h:122
SamplingData< float > offsdef_
Definition: segyfiledef.h:117
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
bool swapData() const
Definition: segyfiledef.h:62
Seis::GeomType geom_
Definition: segyfiledef.h:148
Definition: segyfiledef.h:93
bool havetrcnrs_
Definition: segyfiledef.h:113
int ns_
Definition: segyfiledef.h:57
TrcHeaderDef thdef_
Definition: segyfiledef.h:107
PSDefType
Definition: segyfiledef.h:103
Definition: segyfiledef.h:48
GeomType
Definition: seistype.h:31
static int nrFmts(bool forread)
Definition: segyfiledef.h:67
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
PSDefType psdef_
Definition: segyfiledef.h:116
FileSpec(const IOPar &iop)
Definition: segyfiledef.h:36
float coordscale_
Definition: segyfiledef.h:108
FilePars(bool forread=true)
Definition: segyfiledef.h:51
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:24
Scaling of floating point numbers.
Definition: scaler.h:30
FileReadOpts::PSDefType type_
Definition: segyfiledef.h:167
int fmt_
Definition: segyfiledef.h:58
BinID prevbid_
Definition: segyfiledef.h:177
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
bool swapHdrs() const
, 0=no 1=data only 2=all 3=only hdrs
Definition: segyfiledef.h:61
CoordDefType
Definition: segyfiledef.h:104
Coord startcoord_
Definition: segyfiledef.h:120
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
bool forread_
Definition: segyfiledef.h:106
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:28
ICvsXYType
Definition: segyfiledef.h:102
Definition: seistype.h:31
FileSpec(const char *fnm=0)
Definition: segyfiledef.h:34
Seis::GeomType geomType() const
Definition: segyfiledef.h:99
bool forread_
Definition: segyfiledef.h:86
Coord stepcoord_
Definition: segyfiledef.h:121
OffsetCalculator()
Definition: segyfiledef.h:158
Keys that should be used with od_process_segyio.cc.
Definition: segybatchio.h:18
float sampleintv_
Definition: segyfiledef.h:110
Definition: segyfiledef.h:155
void setSwap(bool hdr, bool data)
Definition: segyfiledef.h:64
float timeshift_
Definition: segyfiledef.h:109
CoordDefType coorddef_
Definition: segyfiledef.h:119
2D point or vector class.
Definition: commontypes.h:58
int byteswap_
Definition: segyfiledef.h:59
float curoffs_
Definition: segyfiledef.h:176
Definition: segyfiledef.h:30
bool is2d_
Definition: segyfiledef.h:169
SamplingData< int > trcnrdef_
Definition: segyfiledef.h:114