#include <PhxBitVector.h>
Public Member Functions | |
| OutputStream (BitVector *bitVector) | |
| Construct the OutputStream on top of the given bit vector. | |
| BitVector & | bitVector (void) |
| Returns a reference to the bit vector that this stream was constructed on top of. | |
| Bits | writeIndex (void) const |
| Gets the position in the bit vector to which the next field will be written. | |
| void | writeIndex (Bits writeIndex) |
| Sets the position in the bit vector to which the next field will be written. | |
| OutputStream & | operator<< (const String &s) |
| OutputStream & | operator<< (double s) |
| OutputStream & | operator<< (float s) |
| OutputStream & | operator<< (uint64_t s) |
| OutputStream & | operator<< (uint32_t s) |
| OutputStream & | operator<< (uint16_t s) |
| OutputStream & | operator<< (uint8_t s) |
| OutputStream & | operator<< (int64_t s) |
| OutputStream & | operator<< (int32_t s) |
| OutputStream & | operator<< (int16_t s) |
| OutputStream & | operator<< (int8_t s) |
| OutputStream & | operator<< (bool s) |
Note that this stream is only valid for as long as the pointer to the bit vector supplied to its constructor is valid. The responsibility for the memory pointed to is the client's.
|
|
Construct the OutputStream on top of the given bit vector.
|
|
|
Sets the position in the bit vector to which the next field will be written.
|
1.4.2