Ogre::BitArray Class Reference
[LOD]

#include <OgreProgressiveMesh.h>

List of all members.

Public Member Functions

 BitArray ()
 BitArray (int bits_count)
BitArrayoperator= (const BitArray &ba)
bool getBit (size_t i) const
void setBit (size_t i)
void clearBit (size_t i)
void clearAllBits ()
bool empty () const
void resize (size_t bits_count)
size_t getBitsCount () const

Private Attributes

unsigned char * bits_ptr
vector< unsigned char >::type bits

Static Private Attributes

static const unsigned char bit_mask [8]
static const unsigned char bit_count [16]

Detailed Description

Definition at line 55 of file OgreProgressiveMesh.h.


Constructor & Destructor Documentation

Ogre::BitArray::BitArray (  ) 

Definition at line 58 of file OgreProgressiveMesh.h.

Ogre::BitArray::BitArray ( int  bits_count  ) 

Definition at line 59 of file OgreProgressiveMesh.h.


Member Function Documentation

void Ogre::BitArray::clearAllBits (  ) 

Definition at line 65 of file OgreProgressiveMesh.h.

void Ogre::BitArray::clearBit ( size_t  i  ) 

Definition at line 64 of file OgreProgressiveMesh.h.

bool Ogre::BitArray::empty (  )  const

Definition at line 67 of file OgreProgressiveMesh.h.

bool Ogre::BitArray::getBit ( size_t  i  )  const

Definition at line 62 of file OgreProgressiveMesh.h.

size_t Ogre::BitArray::getBitsCount (  )  const

Definition at line 75 of file OgreProgressiveMesh.h.

BitArray& Ogre::BitArray::operator= ( const BitArray ba  ) 

Definition at line 60 of file OgreProgressiveMesh.h.

void Ogre::BitArray::resize ( size_t  bits_count  ) 

Definition at line 68 of file OgreProgressiveMesh.h.

void Ogre::BitArray::setBit ( size_t  i  ) 

Definition at line 63 of file OgreProgressiveMesh.h.


Member Data Documentation

const unsigned char Ogre::BitArray::bit_count[16] [static, private]

Definition at line 91 of file OgreProgressiveMesh.h.

const unsigned char Ogre::BitArray::bit_mask[8] [static, private]

Definition at line 90 of file OgreProgressiveMesh.h.

vector<unsigned char>::type Ogre::BitArray::bits [private]

Definition at line 88 of file OgreProgressiveMesh.h.

unsigned char* Ogre::BitArray::bits_ptr [private]

Definition at line 87 of file OgreProgressiveMesh.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:39:02 2012