Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4SurfBits.hh>
Public Member Functions | |
G4SurfBits (unsigned int nbits=0) | |
G4SurfBits (const G4SurfBits &) | |
G4SurfBits & | operator= (const G4SurfBits &) |
~G4SurfBits () | |
void | ResetAllBits (G4bool value=false) |
void | ResetBitNumber (unsigned int bitnumber) |
void | SetBitNumber (unsigned int bitnumber, G4bool value=true) |
G4bool | TestBitNumber (unsigned int bitnumber) const |
G4bool | operator[] (unsigned int bitnumber) const |
void | set (unsigned int nbits, const char *array) |
void | set (unsigned int nbits, const G4int *array) |
void | Get (char *array) const |
void | Get (G4int *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 |
Definition at line 59 of file G4SurfBits.hh.
G4SurfBits::G4SurfBits | ( | unsigned int | nbits = 0 | ) |
Definition at line 43 of file G4SurfBits.cc.
G4SurfBits::G4SurfBits | ( | const G4SurfBits & | original | ) |
G4SurfBits::~G4SurfBits | ( | ) |
Definition at line 84 of file G4SurfBits.cc.
void G4SurfBits::Clear | ( | ) |
Definition at line 92 of file G4SurfBits.cc.
Referenced by G4SurfaceVoxelizer::Voxelize().
void G4SurfBits::Compact | ( | ) |
Definition at line 103 of file G4SurfBits.cc.
void G4SurfBits::Get | ( | char * | array | ) | const |
Definition at line 186 of file G4SurfBits.cc.
Referenced by Get().
void G4SurfBits::Get | ( | G4int * | array | ) | const |
Definition at line 204 of file G4SurfBits.cc.
|
inline |
Definition at line 101 of file G4SurfBits.hh.
Referenced by G4TessellatedSolid::SafetyFromOutside().
|
inline |
Definition at line 102 of file G4SurfBits.hh.
Referenced by G4SurfaceVoxelizer::AllocatedMemory(), and G4TessellatedSolid::AllocatedMemory().
G4SurfBits & G4SurfBits::operator= | ( | const G4SurfBits & | rhs | ) |
Definition at line 65 of file G4SurfBits.cc.
|
inline |
Definition at line 166 of file G4SurfBits.hh.
void G4SurfBits::Output | ( | std::ostream & | os | ) | const |
Definition at line 126 of file G4SurfBits.cc.
void G4SurfBits::Print | ( | ) | const |
Definition at line 139 of file G4SurfBits.cc.
|
protected |
Definition at line 160 of file G4SurfBits.cc.
Referenced by set().
void G4SurfBits::ResetAllBits | ( | G4bool | value = false | ) |
Definition at line 154 of file G4SurfBits.cc.
|
inline |
Definition at line 161 of file G4SurfBits.hh.
void G4SurfBits::set | ( | unsigned int | nbits, |
const char * | array | ||
) |
Definition at line 174 of file G4SurfBits.cc.
Referenced by G4SurfaceVoxelizer::DisplayListNodes(), and set().
Definition at line 196 of file G4SurfBits.cc.
|
inline |
Definition at line 123 of file G4SurfBits.hh.
Referenced by ResetBitNumber().
|
inline |
Definition at line 148 of file G4SurfBits.hh.
Referenced by operator[]().
unsigned char* G4SurfBits::fAllBits |
Definition at line 113 of file G4SurfBits.hh.
Referenced by Clear(), Compact(), G4SurfBits(), Get(), G4SurfaceVoxelizer::GetCandidatesVoxelArray(), operator=(), Output(), Print(), ReserveBytes(), ResetAllBits(), set(), SetBitNumber(), TestBitNumber(), and ~G4SurfBits().
|
protected |
Definition at line 117 of file G4SurfBits.hh.
Referenced by Clear(), Compact(), G4SurfBits(), Get(), GetNbits(), operator=(), set(), SetBitNumber(), and TestBitNumber().
|
protected |
Definition at line 118 of file G4SurfBits.hh.
Referenced by Clear(), Compact(), G4SurfBits(), GetNbytes(), operator=(), Output(), Print(), ReserveBytes(), ResetAllBits(), and SetBitNumber().