ATLAS Offline Software
TargetBuffer_t.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifdef NDEBUG
5 #else
6 
7 #include "TargetBuffer_t.h"
8 #include <sstream>
9 
10 template <typename T_BaseType, typename T_BufferType, typename T_VectorType >
11 void TTN::BufferBase_t<T_BaseType,T_BufferType,T_VectorType>::throwRangeError(typename std::vector<T_BaseType>::size_type idx) const
12 {
13  std::stringstream msg;
14  msg << "TTN::Buffer_t index out of range ( " << idx << " !< " << m_maxIndex << " )";
15  throw std::runtime_error(msg.str());
16 }
17 
18 #endif