Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


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

#include <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. 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...
 

Detailed Description

Definition at line 36 of file XalanBitmap.hpp.

Member Typedef Documentation

◆ size_type

typedef size_t XalanBitmap::size_type

Definition at line 44 of file XalanBitmap.hpp.

◆ UnitType

typedef char XalanBitmap::UnitType

Definition at line 41 of file XalanBitmap.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
eBitsPerUnit 

Definition at line 51 of file XalanBitmap.hpp.

Constructor & Destructor Documentation

◆ XalanBitmap()

XalanBitmap::XalanBitmap ( MemoryManager &  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::~XalanBitmap ( )

Member Function Documentation

◆ clear()

void XalanBitmap::clear ( size_type  theBit)
inline

Clear a bit.

Parameters
theBitThe number of the bit to clear.

Definition at line 98 of file XalanBitmap.hpp.

◆ clearAll()

void XalanBitmap::clearAll ( )

Clear all of the bits.

◆ getSize()

size_type XalanBitmap::getSize ( ) const
inline

Get the size of the map.

Returns
The number of bits in the map.

Definition at line 130 of file XalanBitmap.hpp.

◆ isSet()

bool XalanBitmap::isSet ( size_type  theBit) const
inline

Determine if a bit is set.

Parameters
theBitThe number of the bit to check.
Returns
true if the bit is set, false if not.

Definition at line 72 of file XalanBitmap.hpp.

◆ set()

void XalanBitmap::set ( size_type  theBit)
inline

Set a bit.

Parameters
theBitThe number of the bit to set.

Definition at line 85 of file XalanBitmap.hpp.

◆ toggle()

void XalanBitmap::toggle ( size_type  theBit)
inline

Toggle a bit.

Parameters
theBitThe number of the bit to toggle.

Definition at line 111 of file XalanBitmap.hpp.


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.

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

Apache Logo