Abstract class describing a column-array in a N tuple.
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/NTuple.h>
|
static _Array * | create (INTuple *tup, const std::string &name, const std::type_info &info, const std::string &index, long len, TYP min, TYP max, TYP def) |
| Create instance. More...
|
|
template<class TYP>
class NTuple::_Array< TYP >
Abstract class describing a column-array in a N tuple.
Definition at line 44 of file NTuple.h.
◆ begin()
Definition at line 181 of file NTuple.h.
181 {
return this->m_buffer; }
◆ create()
template<class TYP >
NTuple::_Array< TYP > * NTuple::_Array< TYP >::create |
( |
INTuple * |
tup, |
|
|
const std::string & |
name, |
|
|
const std::type_info & |
info, |
|
|
const std::string & |
index, |
|
|
long |
len, |
|
|
TYP |
min, |
|
|
TYP |
max, |
|
|
TYP |
def |
|
) |
| |
|
static |
Create instance.
Definition at line 27 of file NTupleItems.cpp.
29 return new _ArrayImp<TYP>( tup,
name, info, idx, len, min, max, def );
◆ data() [1/2]
Access to data by reference (CONST)
Definition at line 179 of file NTuple.h.
179 {
return this->m_buffer[i]; }
◆ data() [2/2]
Access to data by reference (CONST)
Definition at line 177 of file NTuple.h.
177 {
return this->m_buffer[i]; }
◆ end()
Definition at line 182 of file NTuple.h.
182 {
return this->m_buffer + this->length(); }
◆ operator=()
template<class TYP >
template<class T >
Assignment operator.
Definition at line 166 of file NTuple.h.
167 long len = this->length();
168 if ( len == copy.length() ) {
169 const T* source = (
const T*)copy.buffer();
170 std::copy_n( source, len, this->m_buffer );
173 throw std::out_of_range(
"N-tuple matrix cannot be copied! The index range does not match!" );
The documentation for this class was generated from the following files: