|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
Abstract class describing a matrix column in a N tuple. More...
#include <NTuple.h>


Public Member Functions | |
| template<class T > | |
| _Matrix< TYP > & | operator= (const _Matrix< T > ©) |
| Assignment operator. | |
| TYP * | column (long i) |
| Access to data by reference. | |
| const TYP * | column (long i) const |
| Access to data by reference (CONST) | |
Static Public Member Functions | |
| static _Matrix * | create (INTuple *tup, const std::string &name, const std::type_info &info, const std::string &index, long ncol, long nrow, TYP min, TYP max, TYP def) |
| Create instance. | |
Protected Attributes | |
| long | m_rows |
| Number of rows per column. | |
Abstract class describing a matrix column in a N tuple.
Definition at line 184 of file NTuple.h.
| TYP* NTuple::_Matrix< TYP >::column | ( | long | i ) | [inline] |
| const TYP* NTuple::_Matrix< TYP >::column | ( | long | i ) | const [inline] |
| NTuple::_Matrix< TYP > * NTuple::_Matrix< TYP >::create | ( | INTuple * | tup, |
| const std::string & | name, | ||
| const std::type_info & | info, | ||
| const std::string & | index, | ||
| long | ncol, | ||
| long | nrow, | ||
| TYP | min, | ||
| TYP | max, | ||
| TYP | def | ||
| ) | [static] |
Create instance.
Definition at line 41 of file NTupleItems.cpp.
| _Matrix<TYP>& NTuple::_Matrix< TYP >::operator= | ( | const _Matrix< T > & | copy ) | [inline] |
Assignment operator.
Definition at line 201 of file NTuple.h.
{
long len = this->length();
if ( len == copy.length() ) {
const T* source = (const T*)copy.buffer();
for ( int i = 0; i < len; i++ ) {
*(this->m_buffer + i) = *(source + i);
}
return *this;
}
throw std::out_of_range
("N-tuple matrix cannot be copied! The index range does not match!");
return *this;
}
long NTuple::_Matrix< TYP >::m_rows [protected] |