User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
IBitStreamC::IBitStreamC(void)
IBitStreamC::IBitStreamC(const StringC &)
IBitStreamC::IBitStreamC(const IStreamC &)
IBitStreamC::ReadBit(void)
IBitStreamC::PeekBit(void)
IBitStreamC::ReadUByte(void)
IBitStreamC::ReadUByte(IntT)
IBitStreamC::ReadUInt(void)
IBitStreamC::ReadUInt(UIntT)
IBitStreamC::ReadInt(UIntT)
IBitStreamC::DiscardBit(void)
IBitStreamC::NextAlignedByte(void)
IBitStreamC::good(void) const
BitStreamBaseC::IsByteAligned(void) const
BitStreamBaseC::Mask(UIntT) const
IBitStreamC
 
Input bit stream
 
include "amma/BitStream.hh"
User Level:Default
Library:MstdIO
Example:exComplx.cc
Section:Basic Types.IO
In Scope:std

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

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

IBitStreamC(const StringC & filename)
Constructor.

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

BooleanT ReadBit()
Read 1 bit from stream.

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

UCharT ReadUByte()
Read a unsigned byte from stream.

UCharT 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.

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

BooleanT good() const
Is stream good ?

BooleanT IsByteAligned() const
Is byte aligned ?

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


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001