|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 2010 |
#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. | |
Definition at line 184 of file NTuple.h.
| 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 | |||
| ) | [inline, static] |
| _Matrix<TYP>& NTuple::_Matrix< TYP >::operator= | ( | const _Matrix< T > & | copy | ) | [inline] |
Assignment operator.
Definition at line 201 of file NTuple.h.
00201 { 00202 long len = this->length(); 00203 if ( len == copy.length() ) { 00204 const T* source = (const T*)copy.buffer(); 00205 for ( int i = 0; i < len; i++ ) { 00206 *(this->m_buffer + i) = *(source + i); 00207 } 00208 return *this; 00209 } 00210 throw std::out_of_range 00211 ("N-tuple matrix cannot be copied! The index range does not match!"); 00212 return *this; 00213 }
| TYP* NTuple::_Matrix< TYP >::column | ( | long | i | ) | [inline] |
| const TYP* NTuple::_Matrix< TYP >::column | ( | long | i | ) | const [inline] |
long NTuple::_Matrix< TYP >::m_rows [protected] |