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.
Bool conform(const TabVecRep< T > &) const
Test if vector shape conforms another table vector.
A 1-D Specialization of the Array class.
TabVecRep< T > * link()
Increments the reference count.
void * newVec() const
Create a new temporary vector (for result of math operations).
virtual void assign(const TabVecRep< T > &)
Set to another table vector.
virtual void putVal(uInt index, const T &)=0
Put a value.
virtual uInt nelem() const
Get nr of elements.
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.
size_t nelements() const
How many elements does this array have? Product of all axis lengths.
uInt ndim() const
Get nr of dimensions.
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.
uInt nelements() const
Get nr of elements (ie.
TabVecTag getTag() const
Get the tag (the type of vector).
Bool ok() const
Check internal consistency.
this file contains all the compiler specific defines
TabVecRep()
Create empty table vector.