CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Friends
BitArray< N >::refToBit Class Reference

#include <BitArray.h>

Public Member Functions

refToBitflip ()
 
 operator int () const
 
refToBitoperator= (const int val)
 
refToBitoperator= (const refToBit &rtb)
 
int operator~ () const
 
 refToBit ()
 
 refToBit (BitArray &b, int pos)
 
 ~refToBit ()
 

Private Attributes

int _pos
 
unsigned * _word
 

Friends

class BitArray
 

Detailed Description

template<int N>
class BitArray< N >::refToBit

Definition at line 37 of file BitArray.h.

Constructor & Destructor Documentation

template<int N>
BitArray< N >::refToBit::refToBit ( )
inline

Definition at line 43 of file BitArray.h.

template<int N>
BitArray< N >::refToBit::refToBit ( BitArray b,
int  pos 
)
inline

Definition at line 44 of file BitArray.h.

template<int N>
BitArray< N >::refToBit::~refToBit ( )
inline

Definition at line 48 of file BitArray.h.

Member Function Documentation

template<int N>
refToBit& BitArray< N >::refToBit::flip ( )
inline

Definition at line 72 of file BitArray.h.

template<int N>
BitArray< N >::refToBit::operator int ( ) const
inline

Definition at line 70 of file BitArray.h.

template<int N>
refToBit& BitArray< N >::refToBit::operator= ( const int  val)
inline

Definition at line 50 of file BitArray.h.

template<int N>
refToBit& BitArray< N >::refToBit::operator= ( const refToBit rtb)
inline

Definition at line 59 of file BitArray.h.

template<int N>
int BitArray< N >::refToBit::operator~ ( ) const
inline

Definition at line 68 of file BitArray.h.

Friends And Related Function Documentation

template<int N>
friend class BitArray
friend

Definition at line 38 of file BitArray.h.

Member Data Documentation

template<int N>
int BitArray< N >::refToBit::_pos
private

Definition at line 79 of file BitArray.h.

template<int N>
unsigned* BitArray< N >::refToBit::_word
private

Definition at line 78 of file BitArray.h.