32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Arrays/Vector.h> 141 inline TabVecTag
getTag()
const;
147 virtual void getVal (
uInt index, T&)
const = 0;
150 virtual void putVal (
uInt index,
const T&) = 0;
153 virtual void set (
const T&) = 0;
216 #ifndef CASACORE_NO_AUTO_TEMPLATES 217 #include <casacore/tables/Tables/TVec.tcc> 218 #endif //# CASACORE_NO_AUTO_TEMPLATES
uInt unlink()
Decrements the reference count and returns the resulting count.
A 1-D Specialization of the Array class.
TabVecRep< T > * link()
Increments the reference count.
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
virtual uInt nelem() const
Get nr of elements.
virtual void assign(const TabVecRep< T > &)
Set to another table vector.
virtual void putVal(uInt index, const T &)=0
Put a value.
void * newVec() const
Create a new temporary vector (for result of math operations).
Templated base class for table vectors.
virtual T value(uInt index) const =0
Get a value.
void validateConformance(uInt) const
Check if vectors are comformant.
uInt nelements() const
Get nr of elements (ie.
virtual void getVal(uInt index, T &) const =0
Get a value.
bool Bool
Define the standard types used by Casacore.
virtual ~TabVecRep()
Destruct the object.
TabVecTag getTag() const
Get the tag (the type of vector).
Bool conform(const TabVecRep< T > &) const
Test if vector shape conforms another table vector.
uInt ndim() const
Get nr of dimensions.
this file contains all the compiler specific defines
TabVecRep()
Create empty table vector.
Bool ok() const
Check internal consistency.