User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - IO - Streams - BitIStreamC
 

  PUBLIC
BitIStreamC::BitIStreamC(void)
BitIStreamC::BitIStreamC(const StringC &)
BitIStreamC::BitIStreamC(const IStreamC &)
BitIStreamC::ReadBit(void)
BitIStreamC::PeekBit(void)
BitIStreamC::ReadUByte(void)
BitIStreamC::ReadUByte(IntT)
BitIStreamC::ReadUInt(void)
BitIStreamC::ReadUInt(UIntT)
BitIStreamC::ReadInt(UIntT)
BitIStreamC::DiscardBit(void)
BitIStreamC::NextAlignedByte(void)
BitIStreamC::good(void) const
BitStreamBaseC::IsByteAligned(void) const
BitStreamBaseC::Mask(UIntT) const

   BitIStreamC   
 
Input bit stream
 
include "Ravl/BitStream.hh"
Created:04/06/99 
User Level:Normal
Library:RavlCore
In Scope:RavlN

Comments:
'at' points to the next bit to read.

Parent Classes: Variables:
Methods:
BitIStreamC()
Default constructor.

BitIStreamC(const StringC & filename)
Constructor.

BitIStreamC(const IStreamC & strm)
Construct from a normal strm.

bool ReadBit()
Read 1 bit from stream.

bool PeekBit()
Look at the next bit to be read. but don't retrieve it.

UByteT ReadUByte()
Read a unsigned byte from stream.

UByteT ReadUByte(IntT nbits)
Read a bit vector.

UIntT ReadUInt()
Read an 32-bit unsigned integer.
MSB First.

UIntT ReadUInt(UIntT bits)
Read an unsigned integer.
MSB First.

IntT ReadInt(UIntT bits)
Read a signed integer.
MSB First.

void DiscardBit()
Discard 1 bit from stream.

UByteT NextAlignedByte()
Read next byte-aligned byte.
This will discard bits between current position and next alignment.

bool good() const
Is stream good ?

bool IsByteAligned() const
Is byte aligned ?

UIntT Mask(UIntT nbits) const
Create a mask nbits long.


Maintainer:Charles Galambos, Created: 04/06/99, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002