BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
ComPackBase< T > Class Template Referenceabstract

#include <ComPackBase.h>

Inheritance diagram for ComPackBase< T >:

Public Member Functions

 ComPackBase ()
 ComPackBase (T minval, T maxval, d_ULong bitrange)
virtual ~ComPackBase ()
virtual StatusCode pack (const T, d_ULong &) const =0
virtual StatusCode unpack (const d_ULong, T &) const =0
virtual const T & getMinVal () const
virtual const T & getMaxVal () const
virtual const T & getRange () const
d_ULong bitRange () const
d_ULong bitMask () const
 ComPackBase (const ComPackBase &)
ComPackBaseoperator= (const ComPackBase &)
 ComPackBase ()
 ComPackBase (T minval, T maxval, d_ULong bitrange)
virtual ~ComPackBase ()
virtual StatusCode pack (const T, d_ULong &) const =0
virtual StatusCode unpack (const d_ULong, T &) const =0
virtual const T & getMinVal () const
virtual const T & getMaxVal () const
virtual const T & getRange () const
d_ULong bitRange () const
d_ULong bitMask () const
 ComPackBase (const ComPackBase &)
ComPackBaseoperator= (const ComPackBase &)
 ComPackBase ()
 ComPackBase (T minval, T maxval, d_ULong bitrange)
virtual ~ComPackBase ()
virtual StatusCode pack (const T, d_ULong &) const =0
virtual StatusCode unpack (const d_ULong, T &) const =0
virtual const T & getMinVal () const
virtual const T & getMaxVal () const
virtual const T & getRange () const
d_ULong bitRange () const
d_ULong bitMask () const
 ComPackBase (const ComPackBase &)
ComPackBaseoperator= (const ComPackBase &)

Protected Types

enum  { _maxlongbits = 32 }
enum  { _maxlongbits = 32 }
enum  { _maxlongbits = 32 }

Protected Attributes

_minVal
_maxVal
_valRange
d_ULong _bitRange
d_ULong _bitMask

Additional Inherited Members

Public Types inherited from ComPackBaseBase
enum  StatusCode {
  TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN ,
  TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD , TAG_RANGE_ERROR ,
  TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD ,
  TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP
}
enum  StatusCode {
  TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN ,
  TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD , TAG_RANGE_ERROR ,
  TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD ,
  TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP
}
enum  StatusCode {
  TAG_OK , TAG_BAD , TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN ,
  TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD , TAG_RANGE_ERROR ,
  TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP , TAG_OK , TAG_BAD ,
  TAG_RANGE_ERROR , TAG_VAL_ROUND_DOWN , TAG_VAL_ROUND_UP
}

Detailed Description

template<class T>
class ComPackBase< T >

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/ComPackBase.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T>
anonymous enum
protected

◆ anonymous enum

template<class T>
anonymous enum
protected
Enumerator
_maxlongbits 

Definition at line 88 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/ComPackBase.h.

88{ _maxlongbits = 32 };

◆ anonymous enum

template<class T>
anonymous enum
protected
Enumerator
_maxlongbits 

Definition at line 88 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/ComPackBase.h.

88{ _maxlongbits = 32 };

Constructor & Destructor Documentation

◆ ComPackBase() [1/9]

template<class T>
ComPackBase< T >::ComPackBase ( )
inline

◆ ComPackBase() [2/9]

◆ ~ComPackBase() [1/3]

template<class T>
virtual ComPackBase< T >::~ComPackBase ( )
inlinevirtual

◆ ComPackBase() [3/9]

template<class T>
ComPackBase< T >::ComPackBase ( const ComPackBase< T > & )
inline

◆ ComPackBase() [4/9]

template<class T>
ComPackBase< T >::ComPackBase ( )
inline

◆ ComPackBase() [5/9]

template<class T>
ComPackBase< T >::ComPackBase ( T minval,
T maxval,
d_ULong bitrange )
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/ComPackBase.h.

47 : _minVal( minval )
48 , _maxVal( maxval )
51 , _bitMask( ( 1 << bitrange ) - 1 ) {
52 ;
53 }

◆ ~ComPackBase() [2/3]

template<class T>
virtual ComPackBase< T >::~ComPackBase ( )
inlinevirtual

◆ ComPackBase() [6/9]

template<class T>
ComPackBase< T >::ComPackBase ( const ComPackBase< T > & )
inline

◆ ComPackBase() [7/9]

template<class T>
ComPackBase< T >::ComPackBase ( )
inline

◆ ComPackBase() [8/9]

template<class T>
ComPackBase< T >::ComPackBase ( T minval,
T maxval,
d_ULong bitrange )
inline

Definition at line 46 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/ComPackBase.h.

47 : _minVal( minval )
48 , _maxVal( maxval )
51 , _bitMask( ( 1 << bitrange ) - 1 ) {
52 ;
53 }

◆ ~ComPackBase() [3/3]

template<class T>
virtual ComPackBase< T >::~ComPackBase ( )
inlinevirtual

◆ ComPackBase() [9/9]

template<class T>
ComPackBase< T >::ComPackBase ( const ComPackBase< T > & )
inline

Member Function Documentation

◆ bitMask() [1/3]

template<class T>
d_ULong ComPackBase< T >::bitMask ( ) const
inline

◆ bitMask() [2/3]

template<class T>
d_ULong ComPackBase< T >::bitMask ( ) const
inline

◆ bitMask() [3/3]

template<class T>
d_ULong ComPackBase< T >::bitMask ( ) const
inline

◆ bitRange() [1/3]

template<class T>
d_ULong ComPackBase< T >::bitRange ( ) const
inline

◆ bitRange() [2/3]

template<class T>
d_ULong ComPackBase< T >::bitRange ( ) const
inline

◆ bitRange() [3/3]

template<class T>
d_ULong ComPackBase< T >::bitRange ( ) const
inline

◆ getMaxVal() [1/3]

template<class T>
virtual const T & ComPackBase< T >::getMaxVal ( ) const
inlinevirtual

◆ getMaxVal() [2/3]

template<class T>
virtual const T & ComPackBase< T >::getMaxVal ( ) const
inlinevirtual

◆ getMaxVal() [3/3]

template<class T>
virtual const T & ComPackBase< T >::getMaxVal ( ) const
inlinevirtual

◆ getMinVal() [1/3]

template<class T>
virtual const T & ComPackBase< T >::getMinVal ( ) const
inlinevirtual

◆ getMinVal() [2/3]

template<class T>
virtual const T & ComPackBase< T >::getMinVal ( ) const
inlinevirtual

◆ getMinVal() [3/3]

template<class T>
virtual const T & ComPackBase< T >::getMinVal ( ) const
inlinevirtual

◆ getRange() [1/3]

template<class T>
virtual const T & ComPackBase< T >::getRange ( ) const
inlinevirtual

◆ getRange() [2/3]

template<class T>
virtual const T & ComPackBase< T >::getRange ( ) const
inlinevirtual

◆ getRange() [3/3]

template<class T>
virtual const T & ComPackBase< T >::getRange ( ) const
inlinevirtual

◆ operator=() [1/3]

template<class T>
ComPackBase & ComPackBase< T >::operator= ( const ComPackBase< T > & )
inline

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcRecoUtil/ComPackBase.h.

82 {
83 ::abort();
84 return *this;
85 }

◆ operator=() [2/3]

template<class T>
ComPackBase & ComPackBase< T >::operator= ( const ComPackBase< T > & )
inline

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcRecoUtil/ComPackBase.h.

82 {
83 ::abort();
84 return *this;
85 }

◆ operator=() [3/3]

template<class T>
ComPackBase & ComPackBase< T >::operator= ( const ComPackBase< T > & )
inline

Definition at line 82 of file Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/ComPackBase.h.

82 {
83 ::abort();
84 return *this;
85 }

◆ pack() [1/3]

◆ pack() [2/3]

template<class T>
virtual StatusCode ComPackBase< T >::pack ( const T ,
d_ULong &  ) const
pure virtual

◆ pack() [3/3]

template<class T>
virtual StatusCode ComPackBase< T >::pack ( const T ,
d_ULong &  ) const
pure virtual

◆ unpack() [1/3]

◆ unpack() [2/3]

template<class T>
virtual StatusCode ComPackBase< T >::unpack ( const d_ULong ,
T &  ) const
pure virtual

◆ unpack() [3/3]

template<class T>
virtual StatusCode ComPackBase< T >::unpack ( const d_ULong ,
T &  ) const
pure virtual

Member Data Documentation

◆ _bitMask

template<class T>
d_ULong ComPackBase< T >::_bitMask
protected

◆ _bitRange

template<class T>
d_ULong ComPackBase< T >::_bitRange
protected

◆ _maxVal

template<class T>
T ComPackBase< T >::_maxVal
protected

◆ _minVal

template<class T>
T ComPackBase< T >::_minVal
protected

◆ _valRange

template<class T>
T ComPackBase< T >::_valRange
protected

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