ATLAS Offline Software
|
Helper class which adds a range check to an array access if NDEBUG is not defined. More...
#include <TargetBuffer_t.h>
Public Member Functions | |
BufferBase_t (T_VectorType &buffer) | |
const T_BaseType & | operator[] (typename std::vector< T_BaseType >::size_type idx) const |
const T_BaseType & | upper_bound_at (typename std::vector< T_BaseType >::size_type idx) const |
Protected Member Functions | |
template<typename T1 , typename T2 , typename T3 > | |
BufferBase_t (const BufferBase_t< T1, T2, T3 > &buffer) | |
template<typename T1 , typename T2 , typename T3 > | |
BufferBase_t & | operator= (const BufferBase_t< T1, T2, T3 > &buffer) |
BufferBase_t (T_BufferType *buffer, typename std::vector< T_BaseType >::size_type max_idx[[maybe_unused]], const std::vector< double > &full_vector[[maybe_unused]]) | |
std::vector< T_BaseType >::size_type | optionalRangeCheck (typename std::vector< T_BaseType >::size_type idx) const |
std::vector< T_BaseType >::size_type | optionalRangeCheckUpperBound (typename std::vector< T_BaseType >::size_type idx) const |
void | throwRangeError (typename std::vector< T_BaseType >::size_type idx) const |
Protected Attributes | |
T_BufferType * | m_ptr |
std::vector< T_BaseType >::size_type | m_maxIndex |
const T_BaseType * | m_bufferStart |
const T_BaseType * | m_bufferEnd |
Friends | |
class | DoubleBuffer_t |
template<typename T1 , typename T2 , typename T3 > | |
class | BufferBase_t |
Helper class which adds a range check to an array access if NDEBUG is not defined.
The helper class only provides read only access to the array, but allows a derived class to add write access if permitted by the base type.
Definition at line 22 of file TargetBuffer_t.h.
|
inline |
Definition at line 27 of file TargetBuffer_t.h.
|
inlineprotected |
Definition at line 41 of file TargetBuffer_t.h.
|
inlineprotected |
Definition at line 65 of file TargetBuffer_t.h.
|
inlineprotected |
Definition at line 53 of file TargetBuffer_t.h.
|
inline |
Definition at line 79 of file TargetBuffer_t.h.
|
inlineprotected |
Definition at line 98 of file TargetBuffer_t.h.
|
inlineprotected |
Definition at line 104 of file TargetBuffer_t.h.
|
protected |
|
inline |
Definition at line 83 of file TargetBuffer_t.h.
|
friend |
Definition at line 24 of file TargetBuffer_t.h.
|
friend |
Definition at line 23 of file TargetBuffer_t.h.
|
protected |
Definition at line 115 of file TargetBuffer_t.h.
|
protected |
Definition at line 114 of file TargetBuffer_t.h.
|
protected |
Definition at line 113 of file TargetBuffer_t.h.
|
protected |
Definition at line 88 of file TargetBuffer_t.h.