class TBits::TReference


TBits

Container of bits

This class provides a simple container of bits.
Each bit can be set and tested via the functions SetBitNumber and
TestBitNumber.                                             .
The default value of all bits is kFALSE.
The size of the container is automatically extended when a bit
number is either set or tested.  To reduce the memory size of the
container use the Compact function, this will discard the memory
occupied by the upper bits that are 0.


Function Members (Methods)

public:
~TReference()
Bool_toperator Bool_t() const
TBits::TReference&operator=(Bool_t val)
TBits::TReference&operator=(const TBits::TReference& rhs)
TBits::TReferenceTReference(const TBits::TReference&)
TBits::TReferenceTReference(TBits& bit, UInt_t pos)
private:
TBits::TReferenceTReference()

Data Members

private:
TBits&fBits!
UInt_tfPos!

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TBits::TReference& operator=(Bool_t val)
 For b[i] = val.
TBits::TReference& operator=(const TReference& rhs)
 For b[i] = b[__j].
inline operator Bool_t()
 For val = b[i].
TReference(const TBits::TReference& )
TReference(TBits& bit, UInt_t pos)
{ }
~TReference()
{ }

Author: Philippe Canal 05/02/01
Last change: root/cont:$Id: TBits.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:35
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.