SMIL  0.9.1
BitArray Class Reference
+ Collaboration diagram for BitArray:

Public Types

typedef size_t INT_TYPE
 

Public Member Functions

 BitArray (const BitArray &rhs)
 
 BitArray (UINT _bitWidth, UINT _bitHeight)
 
 BitArray (INT_TYPE *arr, UINT _bitWidth, UINT _bitHeight=1)
 
 BitArray (bool *arr, UINT _bitWidth, UINT _bitHeight=1)
 
void createIntArray ()
 
void deleteIntArray ()
 
UINT getBitPadX () const
 
UINT getBitWidth ()
 
UINT getHeight ()
 
UINT getIntNbr ()
 
UINT getIntWidth ()
 
bool getValue () const
 
bool getValue (UINT ind) const
 
 operator bool ()
 
BitArrayoperator* ()
 
BitArray operator+ (int dp) const
 
BitArray operator+ (long unsigned int dp) const
 
BitArray operator+ (UINT dp) const
 
BitArrayoperator++ (int)
 
BitArrayoperator++ ()
 
BitArrayoperator+= (int dp)
 
BitArray operator- (int dp) const
 
const bool & operator= (const bool &b)
 
BitArrayoperator= (const BitArray &rhs)
 
BitArray operator[] (UINT i)
 
const bool operator[] (UINT i) const
 
ostream & printSelf (ostream &os=cout)
 
void setSize (UINT _bitWidth, UINT _bitHeight=1)
 
void setValue (bool v)
 
void setValue (UINT ind, bool val)
 

Static Public Member Functions

static UINT INT_SIZE (UINT bitCount)
 
static INT_TYPE INT_TYPE_MAX ()
 
static INT_TYPE INT_TYPE_MIN ()
 

Public Attributes

UINT index
 
INT_TYPE * intArray
 

Static Public Attributes

static const INT_TYPE INT_LS_BIT = 0x01
 Less significant bit.
 
static const INT_TYPE INT_MS_BIT = (1UL << (INT_TYPE_SIZE - 2))
 Most significant bit.
 
static const INT_TYPE INT_TYPE_SIZE = sizeof(INT_TYPE)*CHAR_BIT
 

Private Attributes

UINT bitWidth
 
UINT height
 
UINT intWidth
 

The documentation for this class was generated from the following files: