MiniballSort
Loading...
Searching...
No Matches
MBSBufferElem Class Reference

#include <MbsFormat.hh>

Public Member Functions

 MBSBufferElem ()
 
 MBSBufferElem (unsigned int _type, std::string _descr, int _hsize, int _dsize)
 
 ~MBSBufferElem ()
 
void SetType (unsigned int _type, std::string _descr, int _hsize, int _dsize)
 
void SetType (unsigned int _type, std::string _descr)
 
std::string GetDescription () const
 
unsigned int GetType () const
 
int GetHeaderSize () const
 
int GetDataSize () const
 
void IncrementHit ()
 
void ResetHits ()
 

Private Attributes

unsigned int type
 element type
 
std::string descr
 description
 
int hsize
 header size (bytes)
 
int dsize
 data size (bytes)
 
int hit
 

Detailed Description

Definition at line 134 of file MbsFormat.hh.

Constructor & Destructor Documentation

◆ MBSBufferElem() [1/2]

MBSBufferElem::MBSBufferElem ( )
inline

Definition at line 147 of file MbsFormat.hh.

◆ MBSBufferElem() [2/2]

MBSBufferElem::MBSBufferElem ( unsigned int _type,
std::string _descr,
int _hsize,
int _dsize )
inline

Definition at line 155 of file MbsFormat.hh.

◆ ~MBSBufferElem()

MBSBufferElem::~MBSBufferElem ( )
inline

Definition at line 164 of file MbsFormat.hh.

Member Function Documentation

◆ GetDataSize()

int MBSBufferElem::GetDataSize ( ) const
inline

Definition at line 186 of file MbsFormat.hh.

Referenced by MBS::GetNextMedEvent(), and MBSSubEvent::GetSubEventDataSize().

◆ GetDescription()

std::string MBSBufferElem::GetDescription ( ) const
inline

Definition at line 183 of file MbsFormat.hh.

Referenced by MBSSubEvent::GetSubEventDescription().

◆ GetHeaderSize()

int MBSBufferElem::GetHeaderSize ( ) const
inline

Definition at line 185 of file MbsFormat.hh.

◆ GetType()

unsigned int MBSBufferElem::GetType ( ) const
inline

Definition at line 184 of file MbsFormat.hh.

Referenced by MBS::GetBuffer(), MBS::GetEventType(), and MBSSubEvent::GetSubEventType().

◆ IncrementHit()

void MBSBufferElem::IncrementHit ( )
inline

Definition at line 189 of file MbsFormat.hh.

Referenced by MBS::CheckSubEventType(), MBS::GetBuffer(), and MBS::GetNextMedEvent().

◆ ResetHits()

void MBSBufferElem::ResetHits ( )
inline

Definition at line 190 of file MbsFormat.hh.

◆ SetType() [1/2]

void MBSBufferElem::SetType ( unsigned int _type,
std::string _descr )
inline

Definition at line 174 of file MbsFormat.hh.

◆ SetType() [2/2]

void MBSBufferElem::SetType ( unsigned int _type,
std::string _descr,
int _hsize,
int _dsize )
inline

Definition at line 167 of file MbsFormat.hh.

Member Data Documentation

◆ descr

std::string MBSBufferElem::descr
private

description

Definition at line 139 of file MbsFormat.hh.

Referenced by GetDescription(), MBSBufferElem(), MBSBufferElem(), SetType(), and SetType().

◆ dsize

int MBSBufferElem::dsize
private

data size (bytes)

Definition at line 141 of file MbsFormat.hh.

Referenced by GetDataSize(), MBSBufferElem(), SetType(), and SetType().

◆ hit

int MBSBufferElem::hit
private

of hits

Definition at line 142 of file MbsFormat.hh.

Referenced by IncrementHit(), MBSBufferElem(), MBSBufferElem(), ResetHits(), SetType(), and SetType().

◆ hsize

int MBSBufferElem::hsize
private

header size (bytes)

Definition at line 140 of file MbsFormat.hh.

Referenced by GetHeaderSize(), MBSBufferElem(), MBSBufferElem(), SetType(), and SetType().

◆ type

unsigned int MBSBufferElem::type
private

element type

Definition at line 138 of file MbsFormat.hh.

Referenced by GetType(), MBSBufferElem(), MBSBufferElem(), SetType(), and SetType().


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