Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

strmod::lcore::priv::_base_simple_bitset Class Reference

A non-template base class of common methods that don't need to vary with the template parameter. More...

#include <simple_bitset.h>

Inheritance diagram for strmod::lcore::priv::_base_simple_bitset:

Inheritance graph
[legend]
List of all members.

Public Types

typedef unsigned long bits_t

Public Methods

static::std::string to_string (const bits_t bitary[], size_t size, bits_t lastmask)

Static Public Methods

size_t countbits (const bits_t bitary[], size_t size, bits_t lastmask)

Static Public Attributes

const bits_t allones_ = ULONG_MAX
const size_t bits_t_bits = sizeof(bits_t) * 8
const unsigned int bits_in [256]

Detailed Description

A non-template base class of common methods that don't need to vary with the template parameter.

Definition at line 22 of file simple_bitset.h.


Member Data Documentation

const unsigned int strmod::lcore::priv::_base_simple_bitset::bits_in [static]
 

Initial value:

 {
   0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
   3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
   1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
   3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
   2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
   3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
   3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
   4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8
}

Definition at line 19 of file simple_bitset.cxx.


The documentation for this class was generated from the following files:
Generated on Wed Jan 29 00:32:52 2003 for libNet by doxygen1.3-rc1