Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TabVecTemp.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:38:20 2011 Кодировка: Поисковые слова: m 5 |
Templated table vectors held in memory as a temporary. More...
#include <TVecTemp.h>
Public Member Functions | |
TabVecTemp (const Vector< T > &) | |
Create table vector containing the given Vector (reference semantics). | |
TabVecTemp (uInt leng) | |
Create table vector containing a Vector with given length. | |
~TabVecTemp () | |
Destruct the object. | |
const T & | operator() (uInt index) const |
Return a reference to a value. | |
T & | operator() (uInt index) |
Return a reference to a value. | |
T | value (uInt index) const |
Get a value (virtual function). | |
void | getVal (uInt index, T &) const |
Get a value (virtual function). | |
void | putVal (uInt index, const T &) |
Put a value (virtual function). | |
void | set (const T &) |
Set entire vector to a value. | |
Protected Attributes | |
Vector< T > * | vecPtr_p |
Templated table vectors held in memory as a temporary.
Internal
TabVecTemp is the class dealing with a table vector when used as a temporary in math operations.
TabVecTemp objects enable the use of Vector objects as table vectors. They are used for 2 purposes:
TabVecTemp is derived from TabVecRep and as such a letter for the envelope class TableVector.
Definition at line 91 of file TVecTemp.h.
casa::TabVecTemp< T >::TabVecTemp | ( | const Vector< T > & | ) |
Create table vector containing the given Vector (reference semantics).
It will set the origin to zero.
casa::TabVecTemp< T >::TabVecTemp | ( | uInt | leng | ) |
Create table vector containing a Vector with given length.
casa::TabVecTemp< T >::~TabVecTemp | ( | ) |
Destruct the object.
void casa::TabVecTemp< T >::getVal | ( | uInt | index, | |
T & | ||||
) | const [virtual] |
Get a value (virtual function).
Implements casa::TabVecRep< T >.
const T & casa::TabVecTemp< T >::operator() | ( | uInt | index | ) | const [inline] |
Return a reference to a value.
Definition at line 134 of file TVecTemp.h.
References casa::TabVecTemp< T >::vecPtr_p.
T & casa::TabVecTemp< T >::operator() | ( | uInt | index | ) | [inline] |
Return a reference to a value.
Definition at line 137 of file TVecTemp.h.
References casa::TabVecTemp< T >::vecPtr_p.
void casa::TabVecTemp< T >::putVal | ( | uInt | index, | |
const T & | ||||
) | [virtual] |
Put a value (virtual function).
Implements casa::TabVecRep< T >.
void casa::TabVecTemp< T >::set | ( | const T & | ) | [virtual] |
Set entire vector to a value.
Implements casa::TabVecRep< T >.
T casa::TabVecTemp< T >::value | ( | uInt | index | ) | const [virtual] |
Get a value (virtual function).
Implements casa::TabVecRep< T >.
Vector<T>* casa::TabVecTemp< T >::vecPtr_p [protected] |
Definition at line 127 of file TVecTemp.h.
Referenced by casa::TabVecTemp< T >::operator()().