CFugue
Public Member Functions | Protected Member Functions | List of all members
CBitVector Class Reference

Public Member Functions

 CBitVector (CBitVector &&that)
 
 CBitVector (const CBitVector &that)
 
CBitVectoroperator= (const CBitVector &that)
 
CBitVectoroperator= (CBitVector &&that)
 
bool IsBitSet (const int nBitIndex) const
 
bool operator[] (int nBitIndex) const
 
void SetTrue (int nBitIndex)
 
void SetFalse (int nBitIndex)
 
void SetTrue (const CBitVector &other)
 
void SetFalse (const CBitVector &other)
 
CBitVector operator+ (int nBitIndex) const
 
CBitVectoroperator+= (int nBitIndex)
 
CBitVector operator- (int nBitIndex) const
 
CBitVectoroperator-= (int nBitIndex)
 
int GetFirstTrueIndex () const
 
int GetNextTrueIndex (int nCurrentIndex) const
 
int GetFirstFalseIndex () const
 
int GetNextFalseIndex (int nCurrentIndex) const
 
CBitVector operator| (const CBitVector &that) const
 
CBitVectoroperator|= (const CBitVector &that)
 
CBitVector operator& (const CBitVector &that) const
 
CBitVectoroperator&= (const CBitVector &that)
 
bool Any () const
 
bool None () const
 
void Clear ()
 
int BitCount () const
 
bool operator== (const CBitVector &other) const
 
bool operator!= (const CBitVector &other) const
 
OIL::StrUtils_Return_Type ToString () const
 

Protected Member Functions

int GetNextIndex (int nCurrentIndex, bool bVal) const
 

Detailed Description

Definition at line 10 of file BitVector.h.


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

CFugue, the C++ Music Programming Library © Copyright 2009 Cenacle Research India Private Limited Gopalakrishna Palem