library of assembled shared sources

http://lass.cocamware.com

lass::spat::experimental::BitField< T > Class Template Reference

#include <planar_mesh.h>

Inheritance diagram for lass::spat::experimental::BitField< T >:

Inheritance graph
[legend]

Public Types

enum  { size = 8 * sizeof(T) }

Public Member Functions

 BitField (T bits=0x0)
const bool operator[] (size_t i) const
void set (size_t i)
void set (size_t i, bool value)
void unset (size_t i)

Private Member Functions

const T mask (size_t i) const

Private Attributes

bits_

Detailed Description

template<typename T>
class lass::spat::experimental::BitField< T >

Definition at line 126 of file planar_mesh.h.


Member Enumeration Documentation

template<typename T >
anonymous enum

Enumerator:
size 

Definition at line 129 of file planar_mesh.h.


Constructor & Destructor Documentation

template<typename T >
lass::spat::experimental::BitField< T >::BitField ( bits = 0x0  )  [inline]

Definition at line 130 of file planar_mesh.h.


Member Function Documentation

template<typename T >
const bool lass::spat::experimental::BitField< T >::operator[] ( size_t  i  )  const [inline]

Definition at line 131 of file planar_mesh.h.

template<typename T >
void lass::spat::experimental::BitField< T >::set ( size_t  i  )  [inline]

Definition at line 135 of file planar_mesh.h.

template<typename T >
void lass::spat::experimental::BitField< T >::set ( size_t  i,
bool  value 
) [inline]

Definition at line 139 of file planar_mesh.h.

template<typename T >
void lass::spat::experimental::BitField< T >::unset ( size_t  i  )  [inline]

Definition at line 145 of file planar_mesh.h.

template<typename T >
const T lass::spat::experimental::BitField< T >::mask ( size_t  i  )  const [inline, private]


Field Documentation

template<typename T >
T lass::spat::experimental::BitField< T >::bits_ [private]


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

Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo