Geant4
10.00.p02
|
#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 |
Public Attributes | |
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 | ( | ) |
Definition at line 72 of file UBits.cc.
References fAllBits, fNBits, and fNBytes.
Referenced by UVoxelizer::BuildBitmasks(), UVoxelizer::BuildEmpty(), and UVoxelizer::Voxelize().
void UBits::Compact | ( | ) |
void UBits::Get | ( | char * | array | ) | const |
void UBits::Get | ( | int * | array | ) | const |
|
inline |
|
inline |
Definition at line 124 of file UBits.hh.
References fNBytes.
Referenced by UVoxelizer::AllocatedMemory().
|
inline |
Definition at line 217 of file UBits.hh.
References TestBitNumber().
void UBits::Output | ( | std::ostream & | os | ) | const |
void UBits::Print | ( | void | ) | const |
|
protected |
void UBits::ResetAllBits | ( | bool | value = false | ) |
Definition at line 386 of file UBits.cc.
References fAllBits, and fNBytes.
Referenced by UVoxelizer::BuildEmpty().
|
inline |
Definition at line 212 of file UBits.hh.
References SetBitNumber().
Referenced by UVoxelizer::BuildEmpty().
void UBits::Set | ( | unsigned int | nbits, |
const char * | array | ||
) |
Definition at line 407 of file UBits.cc.
References fAllBits, fNBits, and ReserveBytes().
Referenced by UVoxelizer::DisplayListNodes(), and Set().
void UBits::Set | ( | unsigned int | nbits, |
const int * | array | ||
) |
|
inline |
Definition at line 172 of file UBits.hh.
References fAllBits, fNBits, and fNBytes.
Referenced by UVoxelizer::BuildBitmasks(), UVoxelizer::BuildEmpty(), 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 UVoxelizer::GetCandidatesAsString(), and 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().