OpendTect  6.3
Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
CBVSReadMgr Class Reference

Manager for reading CBVS file-packs. More...

Inheritance diagram for CBVSReadMgr:
[legend]

Protected Member Functions

bool addReader (od_istream *, const TrcKeyZSampling *, bool, bool)
 
bool addReader (const char *, const TrcKeyZSampling *, bool, bool)
 
int nextRdrNr (int) const
 
const uiString errMsg_ () const
 

Protected Attributes

ObjectSet< CBVSReaderreaders_
 
CBVSInfoinfo_
 
bool vertical_
 
int rdr1firstsampnr_
 
- Protected Attributes inherited from CBVSIOMgr
BufferString basefname_
 
uiString errmsg_
 
BufferStringSet fnames_
 
int curnr_
 

Private Member Functions

mODTextTranslationClass(CBVSReadMgr) public ~CBVSReadMgr ()
 
const CBVSInfoinfo () const
 
void close ()
 
BinID nextBinID () const
 
bool goTo (const BinID &)
 
bool toNext ()
 
bool toStart ()
 
bool getAuxInfo (PosAuxInfo &)
 
bool fetch (void **, const bool *comps=0, const Interval< int > *samps=0)
 See CBVSReader::fetch comments. More...
 
int nrComponents () const
 
const BinIDbinID () const
 
void getIsRev (bool &inl, bool &crl) const
 
const char * baseFileName () const
 
int nrReaders () const
 
const CBVSReaderreader (int idx) const
 
int pruneReaders (const TrcKeyZSampling &)
 returns number of readers left. More...
 
void dumpInfo (od_ostream &, bool include_compinfo) const
 
const TypeSet< Coord > & trailerCoords () const
 
void getPositions (TypeSet< BinID > &) const
 
void getPositions (TypeSet< Coord > &) const
 This may actually reset the position to the first. More...
 
const uiString sFoundIn ()
 
const uiString sDiffFromFirstFile ()
 
void createInfo ()
 
bool handleInfo (CBVSReader *, int)
 

Static Private Member Functions

static const char * check (const char *)
 

Detailed Description

Manager for reading CBVS file-packs.

Constructor & Destructor Documentation

mODTextTranslationClass (CBVSReadMgr) public CBVSReadMgr::~CBVSReadMgr ( )
private

< glob_info_only: I am useless except for inspecting global info. See also CBVSReader.

Member Function Documentation

bool CBVSReadMgr::addReader ( od_istream ,
const TrcKeyZSampling ,
bool  ,
bool   
)
protected
bool CBVSReadMgr::addReader ( const char *  ,
const TrcKeyZSampling ,
bool  ,
bool   
)
protected
const char* CBVSReadMgr::baseFileName ( ) const
inlineprivate
const BinID& CBVSReadMgr::binID ( ) const
privatevirtual

Implements CBVSIOMgr.

static const char* CBVSReadMgr::check ( const char *  )
staticprivate

Determines whether this is a CBVS file pack. returns an error message, or null if OK.

void CBVSReadMgr::close ( )
privatevirtual

Implements CBVSIOMgr.

void CBVSReadMgr::createInfo ( )
private
void CBVSReadMgr::dumpInfo ( od_ostream ,
bool  include_compinfo 
) const
private
const uiString CBVSReadMgr::errMsg_ ( ) const
protectedvirtual

Implements CBVSIOMgr.

bool CBVSReadMgr::fetch ( void **  ,
const bool *  comps = 0,
const Interval< int > *  samps = 0 
)
private

See CBVSReader::fetch comments.

bool CBVSReadMgr::getAuxInfo ( PosAuxInfo )
private
void CBVSReadMgr::getIsRev ( bool &  inl,
bool &  crl 
) const
private
void CBVSReadMgr::getPositions ( TypeSet< BinID > &  ) const
private
void CBVSReadMgr::getPositions ( TypeSet< Coord > &  ) const
private

This may actually reset the position to the first.

bool CBVSReadMgr::goTo ( const BinID )
private
bool CBVSReadMgr::handleInfo ( CBVSReader ,
int   
)
private
const CBVSInfo& CBVSReadMgr::info ( ) const
inlineprivate
BinID CBVSReadMgr::nextBinID ( ) const
private
int CBVSReadMgr::nextRdrNr ( int  ) const
protected
int CBVSReadMgr::nrComponents ( ) const
privatevirtual

Implements CBVSIOMgr.

int CBVSReadMgr::nrReaders ( ) const
inlineprivate
int CBVSReadMgr::pruneReaders ( const TrcKeyZSampling )
private

returns number of readers left.

const CBVSReader& CBVSReadMgr::reader ( int  idx) const
inlineprivate
const uiString CBVSReadMgr::sDiffFromFirstFile ( )
inlineprivate
const uiString CBVSReadMgr::sFoundIn ( )
inlineprivate
bool CBVSReadMgr::toNext ( )
private
bool CBVSReadMgr::toStart ( )
private
const TypeSet<Coord>& CBVSReadMgr::trailerCoords ( ) const
private

Member Data Documentation

CBVSInfo& CBVSReadMgr::info_
protected
int CBVSReadMgr::rdr1firstsampnr_
protected
ObjectSet<CBVSReader> CBVSReadMgr::readers_
protected
bool CBVSReadMgr::vertical_
protected

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