Public Member Functions | Protected Member Functions | Protected Attributes

CBVSWriteMgr Class Reference

Writer for CBVS file packs. More...

Inheritance diagram for CBVSWriteMgr:
CBVSIOMgr

List of all members.

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.
 ~CBVSWriteMgr ()
unsigned long bytesPerFile () const
void setBytesPerFile (unsigned long)
 Only works without vertical bricking.
bool put (void **)
 See CBVSWriter::put, only now succeeds or fails.
void close ()
 See CBVSWriter::close.
int nrComponents () const
const BinIDbinID () const
void ensureConsistent ()

Protected Member Functions

const char * errMsg_ () const
std::ostream * mkStrm ()
void cleanup ()

Protected Attributes

ObjectSet< CBVSWriterwriters_
TypeSet< int > endsamps_
CBVSInfo info_
bool single_file
CBVSIO::CoordPol coordpol_

Detailed Description

Writer for CBVS file packs.


Constructor & Destructor Documentation

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 (  ) 

Member Function Documentation

const BinID& CBVSWriteMgr::binID (  )  const [virtual]

Implements CBVSIOMgr.

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

void CBVSWriteMgr::cleanup (  )  [protected]
void CBVSWriteMgr::close (  )  [virtual]

See CBVSWriter::close.

Implements CBVSIOMgr.

void CBVSWriteMgr::ensureConsistent (  ) 
const char* CBVSWriteMgr::errMsg_ (  )  const [protected, virtual]

Implements CBVSIOMgr.

std::ostream* CBVSWriteMgr::mkStrm (  )  [protected]
int CBVSWriteMgr::nrComponents (  )  const [virtual]

Implements CBVSIOMgr.

bool CBVSWriteMgr::put ( void **   ) 

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

void CBVSWriteMgr::setBytesPerFile ( unsigned  long  ) 

Only works without vertical bricking.


Member Data Documentation

TypeSet<int> CBVSWriteMgr::endsamps_ [protected]
bool CBVSWriteMgr::single_file [protected]