Geant4_10
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4OutBitStream Class Reference

#include <G4RTOutBitStream.hh>

Public Member Functions

 G4OutBitStream (int size)
 
 ~G4OutBitStream ()
 
void SetBits (int v, int numBits)
 
void SetByte (u_char dat)
 
void SetWord (u_int dat)
 
void CopyByte (const char *src, int n)
 
u_charGetStreamAddress (void)
 
int GetStreamSize (void)
 

Protected Member Functions

void IncBuf (void)
 
void FullBit (void)
 
void Set8Bits (u_char v, int numBits)
 
void SetFewBits (u_char v, int numBits)
 
void SetBits2Byte (u_char v, int numBits)
 

Protected Attributes

u_charmHeadOfBuf
 
u_charmBuf
 
u_charmEndOfBuf
 
int mBitPos
 
int mWriteFlag
 

Detailed Description

Definition at line 44 of file G4RTOutBitStream.hh.

Constructor & Destructor Documentation

G4OutBitStream::G4OutBitStream ( int  size)

Definition at line 38 of file G4RTOutBitStream.cc.

G4OutBitStream::~G4OutBitStream ( )

Definition at line 55 of file G4RTOutBitStream.cc.

Member Function Documentation

void G4OutBitStream::CopyByte ( const char *  src,
int  n 
)

Definition at line 158 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OutBitStream::FullBit ( void  )
protected

Definition at line 125 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

u_char* G4OutBitStream::GetStreamAddress ( void  )
inline

Definition at line 54 of file G4RTOutBitStream.hh.

Here is the caller graph for this function:

int G4OutBitStream::GetStreamSize ( void  )
inline

Definition at line 55 of file G4RTOutBitStream.hh.

Here is the caller graph for this function:

void G4OutBitStream::IncBuf ( void  )
protected

Definition at line 61 of file G4RTOutBitStream.cc.

Here is the caller graph for this function:

void G4OutBitStream::Set8Bits ( u_char  v,
int  numBits 
)
protected

Definition at line 115 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OutBitStream::SetBits ( int  v,
int  numBits 
)

Definition at line 70 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OutBitStream::SetBits2Byte ( u_char  v,
int  numBits 
)
protected

Definition at line 99 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OutBitStream::SetByte ( u_char  dat)

Definition at line 132 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OutBitStream::SetFewBits ( u_char  v,
int  numBits 
)
protected

Definition at line 84 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OutBitStream::SetWord ( u_int  dat)

Definition at line 144 of file G4RTOutBitStream.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

int G4OutBitStream::mBitPos
protected

Definition at line 62 of file G4RTOutBitStream.hh.

u_char* G4OutBitStream::mBuf
protected

Definition at line 60 of file G4RTOutBitStream.hh.

u_char* G4OutBitStream::mEndOfBuf
protected

Definition at line 61 of file G4RTOutBitStream.hh.

u_char* G4OutBitStream::mHeadOfBuf
protected

Definition at line 55 of file G4RTOutBitStream.hh.

int G4OutBitStream::mWriteFlag
protected

Definition at line 63 of file G4RTOutBitStream.hh.


The documentation for this class was generated from the following files: