[
libArts |
Source |
Keywords |
Summary | Ancestors | All Members | Descendants ]
DESCRIPTION
Class Summary
class ArtsBitString
{
public:
- ArtsBitString(uint32_t numBits);
- ~ArtsBitString();
- bool Test(uint32_t position) const;
- void Set(uint32_t position);
- void Unset(uint32_t position);
- void Toggle(uint32_t position);
- void SetAll();
- void UnsetAll();
protected:
}; // ArtsBitString
Back to the top of ArtsBitString
DESCRIPTION
---------------------------------------------------------------------------
class ArtsBitString
---------------------------------------------------------------------------
This class abstracts a bit string and permits simple bit manipulations.
---------------------------------------------------------------------------
Back to the top of ArtsBitString
-------------------------------------------------------------------------
ArtsBitString(uint32_t numBits)
.........................................................................
constructor
-------------------------------------------------------------------------
ArtsBitString(uint32_t numBits);
Back to the top of ArtsBitString
-------------------------------------------------------------------------
~ArtsBitString()
.........................................................................
destructor
-------------------------------------------------------------------------
~ArtsBitString();
Back to the top of ArtsBitString
-------------------------------------------------------------------------
bool Test(uint32_t position) const
.........................................................................
Check if bit at position is set. Returns true if it's set, else returns false.
-------------------------------------------------------------------------
bool Test(uint32_t position) const;
Back to the top of ArtsBitString
-------------------------------------------------------------------------
void Set(uint32_t position)
.........................................................................
Sets the bit at position.
-------------------------------------------------------------------------
void Set(uint32_t position);
Back to the top of ArtsBitString
-------------------------------------------------------------------------
void Unset(uint32_t position)
.........................................................................
Unsets the bit at position.
-------------------------------------------------------------------------
void Unset(uint32_t position);
Back to the top of ArtsBitString
-------------------------------------------------------------------------
void Toggle(uint32_t position)
.........................................................................
Toggles the bit at position.
-------------------------------------------------------------------------
void Toggle(uint32_t position);
Back to the top of ArtsBitString
-------------------------------------------------------------------------
void SetAll()
.........................................................................
Sets all bits.
-------------------------------------------------------------------------
void SetAll();
Back to the top of ArtsBitString
-------------------------------------------------------------------------
void UnsetAll()
.........................................................................
Unsets all bits.
-------------------------------------------------------------------------
void UnsetAll();
Back to the top of ArtsBitString
All Members
- public:
- bool Test(uint32_t position) const;
- void Set(uint32_t position);
- void Unset(uint32_t position);
- void Toggle(uint32_t position);
- void SetAll();
- void UnsetAll();
- protected:
Back to the top of ArtsBitString
Ancestors
Class does not inherit from any other class.
Back to the top of ArtsBitString
Descendants
Class is not inherited by any others.
Back to the top of ArtsBitString
Generated from source by the Cocoon utilities on Sat Oct 17 14:39:54 1998
.
Report problems to jkotula@unimax.com