Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | List of all members
XalanBitmap Class Reference

Public Types

enum  { eBitsPerUnit = 8 }
 
typedef char UnitType
 
typedef size_t size_type
 

Public Member Functions

 XalanBitmap (MemoryManagerType &theManager, size_type theSize)
 Construct an instance with room for the specified number of bits. More...
 
 ~XalanBitmap ()
 
bool isSet (size_type theBit) const
 Determine if a bit is set. More...
 
void set (size_type theBit)
 Set a bit. More...
 
void clear (size_type theBit)
 Clear a bit. More...
 
void toggle (size_type theBit)
 Toggle a bit. More...
 
void clearAll ()
 Clear all of the bits. More...
 
size_type getSize () const
 Get the size of the map. More...
 

Member Typedef Documentation

typedef size_t XalanBitmap::size_type
typedef char XalanBitmap::UnitType

Member Enumeration Documentation

anonymous enum
Enumerator
eBitsPerUnit 

Constructor & Destructor Documentation

XalanBitmap::XalanBitmap ( MemoryManagerType theManager,
size_type  theSize 
)

Construct an instance with room for the specified number of bits.

Parameters
theSizeThe number of bits in the map.
XalanBitmap::~XalanBitmap ( )

Member Function Documentation

void XalanBitmap::clear ( size_type  theBit)

Clear a bit.

Parameters
theBitThe number of the bit to clear.
void XalanBitmap::clearAll ( )

Clear all of the bits.

size_type XalanBitmap::getSize ( ) const

Get the size of the map.

Returns
The number of bits in the map.
bool XalanBitmap::isSet ( size_type  theBit) const

Determine if a bit is set.

Parameters
theBitThe number of the bit to check.
Returns
true if the bit is set, false if not.
void XalanBitmap::set ( size_type  theBit)

Set a bit.

Parameters
theBitThe number of the bit to set.
void XalanBitmap::toggle ( size_type  theBit)

Toggle a bit.

Parameters
theBitThe number of the bit to toggle.

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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo