Geant4.10
|
#include <UBits.hh>
Public Member Functions | |
UBits (unsigned int nbits=0) | |
UBits (const UBits &) | |
UBits & | operator= (const UBits &rhs) |
virtual | ~UBits () |
void | ResetAllBits (bool value=false) |
void | ResetBitNumber (unsigned int bitnumber) |
void | SetBitNumber (unsigned int bitnumber, bool value=true) |
bool | TestBitNumber (unsigned int bitnumber) const |
bool | operator[] (unsigned int bitnumber) const |
void | Set (unsigned int nbits, const char *array) |
void | Set (unsigned int nbits, const int *array) |
void | Get (char *array) const |
void | Get (int *array) const |
void | Clear () |
void | Compact () |
unsigned int | GetNbits () const |
unsigned int | GetNbytes () const |
void | Print () const |
void | Output (std::ostream &) const |
Data Fields | |
unsigned char * | fAllBits |
Protected Member Functions | |
void | ReserveBytes (unsigned int nbytes) |
Protected Attributes | |
unsigned int | fNBits |
unsigned int | fNBytes |
UBits::UBits | ( | unsigned int | nbits = 0 | ) |
UBits::UBits | ( | const UBits & | original | ) |
void UBits::Clear | ( | ) |
void UBits::Compact | ( | ) |
void UBits::Get | ( | char * | array | ) | const |
|
inline |
|
inline |
Definition at line 124 of file UBits.hh.
References fNBytes.
Referenced by UVoxelizer::AllocatedMemory().
|
inline |
void UBits::Output | ( | std::ostream & | os | ) | const |
void UBits::ResetAllBits | ( | bool | value = false | ) |
Definition at line 212 of file UBits.hh.
References SetBitNumber().
Definition at line 407 of file UBits.cc.
References fAllBits, fNBits, and ReserveBytes().
Referenced by UVoxelizer::DisplayListNodes(), and Set().
Definition at line 172 of file UBits.hh.
References fAllBits, fNBits, and fNBytes.
Referenced by UVCSGfaceted::DistanceToIn(), UVCSGfaceted::DistanceToOut(), UVCSGfaceted::Inside(), UVCSGfaceted::Normal(), ResetBitNumber(), and UVCSGfaceted::SafetyFromInsideSection().
|
inline |
Definition at line 199 of file UBits.hh.
References fAllBits, and fNBits.
Referenced by operator[]().
unsigned char* UBits::fAllBits |
Definition at line 42 of file UBits.hh.
Referenced by Clear(), Compact(), Get(), UVoxelizer::GetCandidatesVoxelArray(), operator=(), Output(), Print(), ReserveBytes(), ResetAllBits(), Set(), SetBitNumber(), TestBitNumber(), UBits(), and ~UBits().
|
protected |
Definition at line 46 of file UBits.hh.
Referenced by Clear(), Compact(), Get(), GetNbits(), operator=(), Set(), SetBitNumber(), TestBitNumber(), and UBits().
|
protected |
Definition at line 47 of file UBits.hh.
Referenced by Clear(), Compact(), GetNbytes(), operator=(), Output(), Print(), ReserveBytes(), ResetAllBits(), SetBitNumber(), and UBits().