List of all members.
Detailed Description
reads from a seismic data store.
If you don't want all of the stored data, you must set use the SeisTrcTranslator facilities (SelData and ComponentData) after calling prepareWork(). If you don't call prepareWork(), the reader will do that but you cannot use SeisTrcTranslator facilities then.
Then, the routine is: get(trc.info()) possibly followed by get(trc). Not keeping this sequence is at your own risk.
Note: 2D Pre-Stack data cannot (yet) be read via this class.
Constructor & Destructor Documentation
| SeisTrcReader::SeisTrcReader |
( |
const IOObj * |
= 0 |
) |
|
Open 'real user entries from '.omf' file Can be anything: SEGY - CBVS - database
| SeisTrcReader::SeisTrcReader |
( |
const char * |
fnm |
) |
|
Open 'loose' CBVS files only.
| SeisTrcReader::~SeisTrcReader |
( |
|
) |
|
Member Function Documentation
| int SeisTrcReader::curLineIdx |
( |
|
) |
const [inline] |
| StepInterval<int> SeisTrcReader::curTrcNrRange |
( |
|
) |
const [inline] |
| bool SeisTrcReader::doStart |
( |
|
) |
[protected] |
| bool SeisTrcReader::ensureCurLineAttribOK |
( |
const BufferString & |
|
) |
[protected] |
| void SeisTrcReader::fillPar |
( |
IOPar & |
|
) |
const [virtual] |
| void SeisTrcReader::forceFloatData |
( |
bool |
yn = true |
) |
[inline] |
| bool SeisTrcReader::get |
( |
SeisTrc & |
|
) |
|
It is possible to directly call this without checking the get(SeisTrcInfo&) result. Beware that the trace selections in the SelData may be ignored then - depending on the Translator's capabilities.
-1 = Error. errMsg() will return a message. 0 = End 1 = Usable info 2 = Not usable (trace needs to be skipped) If 1 is returned, then you should also call get(SeisTrc&).
| bool SeisTrcReader::get2D |
( |
SeisTrc & |
|
) |
[protected] |
| bool SeisTrcReader::getPS |
( |
SeisTrc & |
|
) |
[protected] |
| void SeisTrcReader::init |
( |
|
) |
[protected, virtual] |
| bool SeisTrcReader::initRead |
( |
Conn * |
|
) |
[protected] |
| bool SeisTrcReader::isMultiConn |
( |
|
) |
const [protected] |
| bool SeisTrcReader::isPrepared |
( |
|
) |
const [inline] |
| LineKey SeisTrcReader::lineKey |
( |
|
) |
const |
| bool SeisTrcReader::mkNextFetcher |
( |
|
) |
[protected] |
| int SeisTrcReader::nextConn |
( |
SeisTrcInfo & |
|
) |
[protected] |
| Conn* SeisTrcReader::openFirst |
( |
|
) |
[protected] |
After this, you can set stuff on the translator If not called, will be done automatically
| bool SeisTrcReader::readNext2D |
( |
|
) |
[protected] |
| void SeisTrcReader::setComponent |
( |
int |
ic |
) |
[inline] |
| void SeisTrcReader::startWork |
( |
|
) |
[protected] |
Member Data Documentation