Xalan-C++ API Reference 1.12.0
|
#include <xalanc/PlatformSupport/XalanBitmap.hpp>
Public Types | |
enum | { eBitsPerUnit = 8 } |
typedef char | UnitType |
typedef size_t | size_type |
Public Member Functions | |
XalanBitmap (MemoryManager &theManager, size_type theSize) | |
Construct an instance with room for the specified number of bits. | |
~XalanBitmap () | |
bool | isSet (size_type theBit) const |
Determine if a bit is set. | |
void | set (size_type theBit) |
Set a bit. | |
void | clear (size_type theBit) |
Clear a bit. | |
void | toggle (size_type theBit) |
Toggle a bit. | |
void | clearAll () |
Clear all of the bits. | |
size_type | getSize () const |
Get the size of the map. | |
Definition at line 36 of file XalanBitmap.hpp.
Definition at line 44 of file XalanBitmap.hpp.
Definition at line 41 of file XalanBitmap.hpp.
Enumerator | |
---|---|
eBitsPerUnit |
Definition at line 51 of file XalanBitmap.hpp.
xalanc::XalanBitmap::XalanBitmap | ( | MemoryManager & | theManager, |
size_type | theSize | ||
) |
Construct an instance with room for the specified number of bits.
theSize | The number of bits in the map. |
xalanc::XalanBitmap::~XalanBitmap | ( | ) |
Clear a bit.
theBit | The number of the bit to clear. |
Definition at line 98 of file XalanBitmap.hpp.
void xalanc::XalanBitmap::clearAll | ( | ) |
Clear all of the bits.
|
inline |
Get the size of the map.
Definition at line 130 of file XalanBitmap.hpp.
Determine if a bit is set.
theBit | The number of the bit to check. |
Definition at line 72 of file XalanBitmap.hpp.
Set a bit.
theBit | The number of the bit to set. |
Definition at line 85 of file XalanBitmap.hpp.
Toggle a bit.
theBit | The number of the bit to toggle. |
Definition at line 111 of file XalanBitmap.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Mon Feb 5 2024 20:50:04 for Xalan-C++ API Reference by