Mantid
|
ConstColumnVector gives const access to the column elements without alowing its resizing. More...
#include <ITableWorkspace.h>
Public Member Functions | |
ConstColumnVector (Column_const_sptr column) | |
Construct directly from column. More... | |
ConstColumnVector (const TableConstColumnHelper &th) | |
Constructor. More... | |
const T & | operator[] (size_t i) |
Get the const reference to element. More... | |
size_t | size () |
Size of the vector. More... | |
Private Attributes | |
Column_const_sptr | m_column |
Pointer to the underlying column. More... | |
ConstColumnVector gives const access to the column elements without alowing its resizing.
Created by TableWorkspace::getVector(...)
Definition at line 356 of file ITableWorkspace.h.
|
inline |
Constructor.
Definition at line 359 of file ITableWorkspace.h.
References Mantid::API::ConstColumnVector< T >::m_column.
|
inline |
Construct directly from column.
Definition at line 367 of file ITableWorkspace.h.
References Mantid::API::ConstColumnVector< T >::m_column.
|
inline |
Get the const reference to element.
i | :: Element's position |
Definition at line 378 of file ITableWorkspace.h.
References Mantid::API::ConstColumnVector< T >::m_column.
|
inline |
Size of the vector.
Definition at line 380 of file ITableWorkspace.h.
References Mantid::API::ConstColumnVector< T >::m_column.
Referenced by Mantid::NeXus::NexusFileIO::writeNexusVectorColumn().
|
private |
Pointer to the underlying column.
Definition at line 383 of file ITableWorkspace.h.
Referenced by Mantid::API::ConstColumnVector< T >::ConstColumnVector(), Mantid::API::ConstColumnVector< T >::operator[](), and Mantid::API::ConstColumnVector< T >::size().