24 #ifndef __evBitBuffer_h 25 #define __evBitBuffer_h 53 int Read(
unsigned char &val);
56 int Read(
double &val);
62 int Write(
const unsigned char val);
63 int Write(
const int val);
64 int Write(
const float val);
65 int Write(
const double val);
94 QccBitBufferInitialize(&(this->
BitBuffer));
122 if (QccBitBufferGetChar(&this->
BitBuffer,
150 if (QccBitBufferGetDouble(&this->
BitBuffer,
165 if (QccBitBufferGetDouble(&this->
BitBuffer,
178 for (
unsigned int component = 0; component < val.
Dimension(); component++)
179 if (this->
Read(val[component]))
191 for (
unsigned int component = 0;
196 if (this->
Read(val2))
202 val.
Set(val2, component);
211 unsigned int num_dimensions =
214 evVector lower_bound(num_dimensions);
215 evVector upper_bound(num_dimensions);
217 if (this->
Read(lower_bound))
222 if (this->
Read(upper_bound))
228 bounding_box.
SetBounds(lower_bound, upper_bound);
249 if (QccBitBufferPutChar(&this->
BitBuffer,
275 if (QccBitBufferPutDouble(&this->
BitBuffer,
288 if (QccBitBufferPutDouble(&this->
BitBuffer,
301 for (
unsigned int component = 0; component < val.
Dimension(); component++)
302 if (this->
Write(val[component]))
314 for (
unsigned int component = 0;
317 int val2 = val.
Get(component);
319 if (this->
Write(val2))
QccBitBuffer BitBuffer
Definition: evBitBuffer.h:75
unsigned int Dimension(void) const
Definition: evVector.h:149
evVector GetLowerBound(void) const
Definition: evBoundingBox.h:102
int Read(evBit &val)
Definition: evBitBuffer.h:103
Definition: evVector.h:36
int Write(const evBit val)
Definition: evBitBuffer.h:234
void Set(const int value, const unsigned int dimension)
Definition: evAddress.h:117
Definition: evAddress.h:37
virtual ~evBitBuffer(void)
Definition: evBitBuffer.h:98
void SetBounds(const evVector &lower_bound, const evVector &upper_bound)
Definition: evBoundingBox.h:120
Definition: evBoundingBox.h:32
QccBitBuffer * GetBitBuffer(void)
Definition: evBitBuffer.h:80
int * Get(void)
Definition: evAddress.h:124
int GetBitCount(void)
Definition: evBitBuffer.h:346
evVector GetUpperBound(void) const
Definition: evBoundingBox.h:114
Definition: evBitBuffer.h:34
int GetBit(void) const
Definition: evBit.h:74
evErrorHandler ErrorHandler
void ErrorMessage(const char *format,...)
evBitBuffer(void)
Definition: evBitBuffer.h:92
unsigned int GetNumDimensions(void) const
Definition: evAddress.h:148
Definition: evString.h:30
virtual const evString GetClassName(void) const
Definition: evBitBuffer.h:40