OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CBVSWriteMgr Class Reference

Writer for CBVS file packs. More...

Inheritance diagram for CBVSWriteMgr:
[legend]

Public Member Functions

 CBVSWriteMgr (const char *basefname, const CBVSInfo &, const PosAuxInfo *=0, VBrickSpec *=0, bool singlefile=false, CBVSIO::CoordPol cp=CBVSIO::InAux)
 See CBVSWriter for parameters 2 and 3. More...
 
 ~CBVSWriteMgr ()
 
const BinIDbinID () const
 
unsigned long bytesPerFile () const
 
void close ()
 See CBVSWriter::close. More...
 
void ensureConsistent ()
 
int nrComponents () const
 
bool put (const TraceData &)
 See CBVSWriter::put, only now succeeds or fails. More...
 
bool put (void **)
 
void setBytesPerFile (unsigned long)
 Only works without vertical bricking. More...
 
void setForceTrailers (bool yn=true)
 
- Public Member Functions inherited from CBVSIOMgr
 CBVSIOMgr (const char *basefname)
 
virtual ~CBVSIOMgr ()
 
const char * errMsg () const
 
bool failed () const
 
BufferString getFileName (int nr) const
 

Protected Member Functions

void cleanup ()
 
const char * errMsg_ () const
 
od_ostreammkStrm ()
 

Protected Attributes

CBVSIO::CoordPol coordpol_
 
TypeSet< int > endsamps_
 
bool forcetrailers_
 
CBVSInfo info_
 
bool single_file
 
ObjectSet< CBVSWriterwriters_
 
- Protected Attributes inherited from CBVSIOMgr
BufferString basefname_
 
int curnr_
 
BufferString errmsg_
 
BufferStringSet fnames_
 

Additional Inherited Members

- 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...
 

Detailed Description

Writer for CBVS file packs.

<>

Constructor & Destructor Documentation

◆ CBVSWriteMgr()

CBVSWriteMgr::CBVSWriteMgr ( const char *  basefname,
const CBVSInfo ,
const PosAuxInfo = 0,
VBrickSpec = 0,
bool  singlefile = false,
CBVSIO::CoordPol  cp = CBVSIO::InAux 
)

See CBVSWriter for parameters 2 and 3.

◆ ~CBVSWriteMgr()

CBVSWriteMgr::~CBVSWriteMgr ( )

Member Function Documentation

◆ binID()

const BinID& CBVSWriteMgr::binID ( ) const
virtual

Implements CBVSIOMgr.

◆ bytesPerFile()

unsigned long CBVSWriteMgr::bytesPerFile ( ) const

After this amount of bytes, a new file will be created for the next inline. The default is 1.8 GB, 0 = unlimited Only active without vertical bricking

◆ cleanup()

void CBVSWriteMgr::cleanup ( )
protected

◆ close()

void CBVSWriteMgr::close ( )
virtual

See CBVSWriter::close.

Implements CBVSIOMgr.

◆ ensureConsistent()

void CBVSWriteMgr::ensureConsistent ( )

◆ errMsg_()

const char* CBVSWriteMgr::errMsg_ ( ) const
protectedvirtual

Implements CBVSIOMgr.

◆ mkStrm()

od_ostream* CBVSWriteMgr::mkStrm ( )
protected

◆ nrComponents()

int CBVSWriteMgr::nrComponents ( ) const
virtual

Implements CBVSIOMgr.

◆ put() [1/2]

bool CBVSWriteMgr::put ( const TraceData )

See CBVSWriter::put, only now succeeds or fails.

◆ put() [2/2]

bool CBVSWriteMgr::put ( void **  )

◆ setBytesPerFile()

void CBVSWriteMgr::setBytesPerFile ( unsigned long  )

Only works without vertical bricking.

◆ setForceTrailers()

void CBVSWriteMgr::setForceTrailers ( bool  yn = true)

Member Data Documentation

◆ coordpol_

CBVSIO::CoordPol CBVSWriteMgr::coordpol_
protected

◆ endsamps_

TypeSet<int> CBVSWriteMgr::endsamps_
protected

◆ forcetrailers_

bool CBVSWriteMgr::forcetrailers_
protected

◆ info_

CBVSInfo CBVSWriteMgr::info_
protected

◆ single_file

bool CBVSWriteMgr::single_file
protected

◆ writers_

ObjectSet<CBVSWriter> CBVSWriteMgr::writers_
protected

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