Mantid
|
ColumnVector gives access to the column elements without alowing its resizing. More...
#include <ITableWorkspace.h>
Public Member Functions | |
ColumnVector (Column_sptr column) | |
Construct directly from column. More... | |
ColumnVector (const TableColumnHelper &th) | |
Constructor. More... | |
T & | operator[] (size_t i) |
Get the element. More... | |
size_t | size () |
Size of the vector. More... | |
Private Attributes | |
Column_sptr | m_column |
Pointer to the underlying column. More... | |
ColumnVector gives access to the column elements without alowing its resizing.
Created by TableWorkspace::getVector(...)
Definition at line 321 of file ITableWorkspace.h.
|
inline |
Constructor.
Definition at line 324 of file ITableWorkspace.h.
References Mantid::API::ColumnVector< T >::m_column.
|
inline |
Construct directly from column.
Definition at line 332 of file ITableWorkspace.h.
References Mantid::API::ColumnVector< T >::m_column.
|
inline |
Get the element.
i | :: Element's position |
Definition at line 343 of file ITableWorkspace.h.
References Mantid::API::ColumnVector< T >::m_column.
|
inline |
Size of the vector.
Definition at line 345 of file ITableWorkspace.h.
References Mantid::API::ColumnVector< T >::m_column.
Referenced by Mantid::Algorithms::PDCalibration::createCalTableFromExisting(), and Mantid::MDAlgorithms::LoadDNSSCD::loadHuber().
|
private |
Pointer to the underlying column.
Definition at line 348 of file ITableWorkspace.h.
Referenced by Mantid::API::ColumnVector< T >::ColumnVector(), Mantid::API::ColumnVector< T >::operator[](), and Mantid::API::ColumnVector< T >::size().