atlas::bitset::BaseSize< n > Class Template Reference
The class BaseSize computes (with its member 'value') the base size
- the number of words needed for a BitSet holding n bits. Since n must be a compile time constant, BaseSize<n>::value will be one as well.
More...
#include <bitset.h>
List of all members.
Detailed Description
template<size_t n>
class atlas::bitset::BaseSize< n >
The class BaseSize computes (with its member 'value') the base size
- the number of words needed for a BitSet holding n bits. Since n must be a compile time constant, BaseSize<n>::value will be one as well.
Essentially we must divide n by longBits, but the fractional result must be rounded up to the next integer; this is achieved by adding constants::posBits=longBits-1 to n before performing the division. Code simplified by MvL.
Definition at line 766 of file bitset.h.
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/r0/dav/atlas.dir/atlas3/sources/utilities/bitset.h
Generated on Wed Mar 26 16:52:19 2008 for atlas by
1.3.9.1