OpendTect
6.6
|
Manager for reading CBVS file-packs. More...
Public Member Functions | |
CBVSReadMgr (const char *, const TrcKeyZSampling *cs=0, bool single_file=false, bool glob_info_only=false, bool forceusecbvsinfo=false) | |
~CBVSReadMgr () | |
const char * | baseFileName () const |
const BinID & | binID () const |
int | bytesOverheadPerTrace () const |
void | close () |
void | dumpInfo (od_ostream &, bool include_compinfo) const |
bool | fetch (TraceData &, const bool *comps, const Interval< int > *samps) |
See CBVSReader::fetch comments. More... | |
bool | fetch (TraceData &, const bool *comps=nullptr, const StepInterval< int > *samps=nullptr) |
bool | fetch (void **, const bool *comps=0, const Interval< int > *samps=0) |
bool | getAuxInfo (PosAuxInfo &) |
void | getIsRev (bool &inl, bool &crl) const |
void | getPositions (TypeSet< BinID > &) const |
void | getPositions (TypeSet< Coord > &) const |
This may actually reset the position to the first. More... | |
bool | goTo (const BinID &) |
const CBVSInfo & | info () const |
BinID | nextBinID () const |
int | nrComponents () const |
int | nrReaders () const |
int | pruneReaders (const TrcKeyZSampling &) |
returns number of readers left. More... | |
const CBVSReader & | reader (int idx) const |
void | setSingleLineMode (bool yn=true) |
bool | toNext () |
bool | toStart () |
const TypeSet< Coord > & | trailerCoords () const |
Public Member Functions inherited from CBVSIOMgr | |
CBVSIOMgr (const char *basefname) | |
virtual | ~CBVSIOMgr () |
const char * | errMsg () const |
bool | failed () const |
BufferString | getFileName (int nr) const |
Static Public Member Functions | |
static const char * | check (const char *) |
Static Public Member Functions inherited from CBVSIOMgr | |
static BufferString | baseFileName (const char *) |
static BufferString | getFileName (const char *, int) |
returns aux file name for negative nr More... | |
static int | getFileNr (const char *) |
returns 0 or number behind '^' More... | |
Protected Member Functions | |
bool | addReader (const char *, const TrcKeyZSampling *, bool, bool) |
bool | addReader (od_istream *, const TrcKeyZSampling *, bool, bool) |
const char * | errMsg_ () const |
int | nextRdrNr (int) const |
Protected Attributes | |
CBVSInfo & | info_ |
int | rdr1firstsampnr_ |
ObjectSet< CBVSReader > | readers_ |
bool | vertical_ |
Protected Attributes inherited from CBVSIOMgr | |
BufferString | basefname_ |
int | curnr_ |
BufferString | errmsg_ |
BufferStringSet | fnames_ |
Private Member Functions | |
void | createInfo () |
bool | handleInfo (CBVSReader *, int) |
Manager for reading CBVS file-packs.
<>
CBVSReadMgr::CBVSReadMgr | ( | const char * | , |
const TrcKeyZSampling * | cs = 0 , |
||
bool | single_file = false , |
||
bool | glob_info_only = false , |
||
bool | forceusecbvsinfo = false |
||
) |
glob_info_only: I am useless except for inspecting global info. See also CBVSReader.
CBVSReadMgr::~CBVSReadMgr | ( | ) |
|
protected |
|
protected |
|
inline |
int CBVSReadMgr::bytesOverheadPerTrace | ( | ) | const |
|
static |
Determines whether this is a CBVS file pack. returns an error message, or null if OK.
|
virtual |
Implements CBVSIOMgr.
|
private |
void CBVSReadMgr::dumpInfo | ( | od_ostream & | , |
bool | include_compinfo | ||
) | const |
|
protectedvirtual |
Implements CBVSIOMgr.
See CBVSReader::fetch comments.
bool CBVSReadMgr::fetch | ( | TraceData & | , |
const bool * | comps = nullptr , |
||
const StepInterval< int > * | samps = nullptr |
||
) |
bool CBVSReadMgr::fetch | ( | void ** | , |
const bool * | comps = 0 , |
||
const Interval< int > * | samps = 0 |
||
) |
bool CBVSReadMgr::getAuxInfo | ( | PosAuxInfo & | ) |
void CBVSReadMgr::getIsRev | ( | bool & | inl, |
bool & | crl | ||
) | const |
This may actually reset the position to the first.
bool CBVSReadMgr::goTo | ( | const BinID & | ) |
|
private |
|
inline |
BinID CBVSReadMgr::nextBinID | ( | ) | const |
|
protected |
|
virtual |
Implements CBVSIOMgr.
|
inline |
int CBVSReadMgr::pruneReaders | ( | const TrcKeyZSampling & | ) |
returns number of readers left.
|
inline |
void CBVSReadMgr::setSingleLineMode | ( | bool | yn = true | ) |
bool CBVSReadMgr::toNext | ( | ) |
bool CBVSReadMgr::toStart | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022