28 #ifndef TABLES_TABLEVECTOR_H
29 #define TABLES_TABLEVECTOR_H
225 {
return (tabVecPtr_p == 0 ?
True :
False); }
229 {
return tabVecPtr_p->ndim(); }
233 {
return tabVecPtr_p->nelements(); }
238 {
return tabVecPtr_p->conform (*vec.
tabVecPtr_p); }
241 {
return tabVecPtr_p->conform (vec); }
246 {
return tabVecPtr_p->value (index); }
251 {
return *tabVecPtr_p; }
254 {
return *tabVecPtr_p; }
260 { tabVecPtr_p = vec.
link(); }
266 tabVecPtr_p->assign (that.
tabVec());
273 tabVecPtr_p->putVal (index, value);
278 tabVecPtr_p->set (value);
283 tabVecPtr_p->set (value);
292 #define ROTableVector TableVector
295 #ifndef CASACORE_NO_AUTO_TEMPLATES
296 #include <casacore/tables/Tables/TableVector.tcc>
297 #endif //# CASACORE_NO_AUTO_TEMPLATES
TableVector()
The default constructor creates a null table vector.
TabVecRep< T > * link()
Increments the reference count.
Vector< T > makeVector() const
Make a (normal) Vector from a TableVector (copy semantics).
void reference(const TableVector< T > &)
Make a reference to the table vector of the other TableVector.
Main interface class to a read/write table.
Templated readonly table column vectors.
Templated base class for table vectors.
Bool conform(const TableVector< T > &) const
Test if the shape of the given table vector conforms.
TabVecRep< T > * tabVecPtr_p
TabVecRep< T > & tabVec()
Return the TabVecRep reference.
Bool isNull() const
Test if the table vector is null, i.e.
rownr_t nelements() const
Get nr of elements (ie.
Bool ok() const
Test if internal state is correct.
bool Bool
Define the standard types used by Casacore.
TableVector< T > & operator=(const TableVector< T > &)
Assign a table vector to another one (copy semantics).
Read/write access to a table column.
~TableVector()
Destruct the object.
uInt64 rownr_t
Define the type of a row number in a table.
uInt ndim() const
Get nr of dimensions (is always 1).
void throwIfNull() const
Throw an exception if the table vector is null, i.e.
String: the storage and methods of handling collections of characters.
void destruct()
Destruct the object.
T operator()(rownr_t index) const
Get the value of a single pixel.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.