Public Types | Public Member Functions | Static Public Attributes | Protected Attributes

CBVSIO Class Reference

Base class for CBVS reader and writer. More...

Inheritance diagram for CBVSIO:
CBVSReader CBVSWriter

List of all members.

Public Types

enum  CoordPol { InAux = 0, InTrailer = 1, NotStored = 2 }

Public Member Functions

 CBVSIO ()
virtual ~CBVSIO ()
bool failed () const
const char * errMsg () const
virtual void close ()=0
int nrComponents () const
const BinIDbinID () const
void setErrMsg (const char *s)

Static Public Attributes

static const int integersize
static const int version
static const int headstartbytes

Protected Attributes

const char * errmsg_
int * cnrbytes_
int nrcomps_
bool strmclosed_
int nrxlines_
CoordPol coordpol_
TypeSet< Coordtrailercoords_
BinID curbinid_

Detailed Description

Base class for CBVS reader and writer.

CBVS storage assumes inline-sorting of data. X-line sorting is simply not supported.


Member Enumeration Documentation

Enumerator:
InAux 
InTrailer 
NotStored 

Constructor & Destructor Documentation

CBVSIO::CBVSIO (  )  [inline]
virtual CBVSIO::~CBVSIO (  )  [inline, virtual]

Member Function Documentation

const BinID& CBVSIO::binID (  )  const [inline]
virtual void CBVSIO::close (  )  [pure virtual]

Implemented in CBVSReader, and CBVSWriter.

const char* CBVSIO::errMsg (  )  const [inline]
bool CBVSIO::failed (  )  const [inline]
int CBVSIO::nrComponents (  )  const [inline]
void CBVSIO::setErrMsg ( const char *  s  )  [inline]

Member Data Documentation

int* CBVSIO::cnrbytes_ [protected]
BinID CBVSIO::curbinid_ [mutable, protected]
const char* CBVSIO::errmsg_ [protected]
const int CBVSIO::headstartbytes [static]
const int CBVSIO::integersize [static]
int CBVSIO::nrcomps_ [protected]
int CBVSIO::nrxlines_ [protected]
bool CBVSIO::strmclosed_ [protected]
const int CBVSIO::version [static]