28 #ifndef TABLES_STINDARRAY_H
29 #define TABLES_STINDARRAY_H
41 template<
class T>
class Array;
310 uInt valueIndex,
void* value);
314 uInt valueIndex,
void* value);
318 uInt valueIndex,
void* value);
322 uInt valueIndex,
void* value);
326 uInt valueIndex,
void* value);
330 uInt valueIndex,
void* value);
334 uInt valueIndex,
void* value);
338 uInt valueIndex,
void* value);
342 uInt valueIndex,
void* value);
346 uInt valueIndex,
void* value);
350 uInt valueIndex,
void* value);
354 uInt valueIndex,
void* value);
367 const void* dataPtr));
375 uInt valueIndex,
const void* value);
379 uInt valueIndex,
const void* value);
383 uInt valueIndex,
const void* value);
387 uInt valueIndex,
const void* value);
391 uInt valueIndex,
const void* value);
395 uInt valueIndex,
const void* value);
399 uInt valueIndex,
const void* value);
403 uInt valueIndex,
const void* value);
407 uInt valueIndex,
const void* value);
411 uInt valueIndex,
const void* value);
415 uInt valueIndex,
const void* value);
419 uInt valueIndex,
const void* value);
void putArrayIntV(StManArrayFile &, const Array< Int > *dataPtr)
A Vector of integers, for indexing into Array<T> objects.
void putSliceBoolV(StManArrayFile &, const Slicer &, const Array< Bool > *dataPtr)
Put a section of the array into the file at the offset held in this object.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
void getArrayDComplexV(StManArrayFile &, Array< DComplex > *dataPtr)
void putSliceData(StManArrayFile &, const Slicer &ns, const void *value, const IPosition &userArrayShape, void(*putVec)(StManArrayFile &, Int64, uInt, uInt, uInt, uInt, const void *dataPtr))
Put sliced data, i.e.
void putSliceStringV(StManArrayFile &, const Slicer &, const Array< String > *dataPtr)
static void getVecShortV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
void putArrayfloatV(StManArrayFile &, const Array< float > *dataPtr)
void getArrayShortV(StManArrayFile &, Array< Short > *dataPtr)
void copyData(StManArrayFile &ios, int dataType, const StIndArray &other)
Copy the data from another array.
void putSliceIntV(StManArrayFile &, const Slicer &, const Array< Int > *dataPtr)
void getShape(StManArrayFile &ios)
Read the shape if not read yet.
void putSliceuCharV(StManArrayFile &, const Slicer &, const Array< uChar > *dataPtr)
void getSliceuCharV(StManArrayFile &, const Slicer &, Array< uChar > *dataPtr)
void getSliceComplexV(StManArrayFile &, const Slicer &, Array< Complex > *dataPtr)
static void getVecuIntV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
static void getVecuCharV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
void getSliceIntV(StManArrayFile &, const Slicer &, Array< Int > *dataPtr)
void getSliceuIntV(StManArrayFile &, const Slicer &, Array< uInt > *dataPtr)
void getSlicefloatV(StManArrayFile &, const Slicer &, Array< float > *dataPtr)
Read/write indirect arrays.
void getArrayuCharV(StManArrayFile &, Array< uChar > *dataPtr)
void getArrayIntV(StManArrayFile &, Array< Int > *dataPtr)
Int64 fileOffset() const
Get the file offset.
void putArrayuIntV(StManArrayFile &, const Array< uInt > *dataPtr)
void getArrayuShortV(StManArrayFile &, Array< uShort > *dataPtr)
static void putVecIntV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void getArrayInt64V(StManArrayFile &, Array< Int64 > *dataPtr)
void putArrayInt64V(StManArrayFile &, const Array< Int64 > *dataPtr)
static void getVecBoolV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
Get a (type-dependent) vector part of a slice.
void putArraydoubleV(StManArrayFile &, const Array< double > *dataPtr)
Bool setShape(StManArrayFile &, int dataType, const IPosition &shape)
Set the shape and allocate the array in the file.
void checkShape(const IPosition &userArrayShape, const IPosition &tableArrayShape) const
Throw an exception if the shape of the given array and the table array (slice) are not equal...
const IPosition & shape() const
Get the shape.
void putSliceShortV(StManArrayFile &, const Slicer &, const Array< Short > *dataPtr)
void putSlicefloatV(StManArrayFile &, const Slicer &, const Array< float > *dataPtr)
static void putVecdoubleV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void putSlicedoubleV(StManArrayFile &, const Slicer &, const Array< double > *dataPtr)
void getArrayComplexV(StManArrayFile &, Array< Complex > *dataPtr)
static void putVecuIntV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void putArrayuCharV(StManArrayFile &, const Array< uChar > *dataPtr)
void getArrayStringV(StManArrayFile &, Array< String > *dataPtr)
void putArrayDComplexV(StManArrayFile &, const Array< DComplex > *dataPtr)
void getSliceInt64V(StManArrayFile &, const Slicer &, Array< Int64 > *dataPtr)
static void getVecInt64V(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
void putSliceInt64V(StManArrayFile &, const Slicer &, const Array< Int64 > *dataPtr)
static void putVecBoolV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
Put a (type-dependent) vector part of a slice.
static void putVecuShortV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void getSliceData(StManArrayFile &, const Slicer &ns, void *value, const IPosition &userArrayShape, void(*getVec)(StManArrayFile &, Int64, uInt, uInt, uInt, uInt, void *dataPtr))
Get sliced data, i.e.
LatticeExprNode length(const LatticeExprNode &expr, const LatticeExprNode &axis)
2-argument function to get the length of an axis.
void getSliceDComplexV(StManArrayFile &, const Slicer &, Array< DComplex > *dataPtr)
static void putVecDComplexV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void incrementRefCount(StManArrayFile &ios)
Increment the reference count.
void putSliceComplexV(StManArrayFile &, const Slicer &, const Array< Complex > *dataPtr)
static void getVecdoubleV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
bool Bool
Define the standard types used by Casacore.
void putArrayBoolV(StManArrayFile &, const Array< Bool > *dataPtr)
Put an array value into the file at the offset held in this object.
void getSliceShortV(StManArrayFile &, const Slicer &, Array< Short > *dataPtr)
static void putVecStringV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
static void putVecComplexV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void putArrayStringV(StManArrayFile &, const Array< String > *dataPtr)
void putSliceDComplexV(StManArrayFile &, const Slicer &, const Array< DComplex > *dataPtr)
Specify which elements to extract from an n-dimensional array.
void getSliceBoolV(StManArrayFile &, const Slicer &, Array< Bool > *dataPtr)
Get a section of the array from the file at the offset held in this object.
void decrementRefCount(StManArrayFile &ios)
Decrement the reference count.
void getArrayBoolV(StManArrayFile &, Array< Bool > *dataPtr)
Get an array value from the file at the offset held in this object.
static void putVecShortV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void getArrayuIntV(StManArrayFile &, Array< uInt > *dataPtr)
void getSliceStringV(StManArrayFile &, const Slicer &, Array< String > *dataPtr)
StIndArray & operator=(const StIndArray &)
Assignment.
void putArrayComplexV(StManArrayFile &, const Array< Complex > *dataPtr)
void getSliceuShortV(StManArrayFile &, const Slicer &, Array< uShort > *dataPtr)
static void putVecuCharV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
void getArrayfloatV(StManArrayFile &, Array< float > *dataPtr)
static void getVecIntV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
static void getVecStringV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
static void getVecuShortV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
void getArraydoubleV(StManArrayFile &, Array< double > *dataPtr)
StIndArray(Int64 fileOffset)
Construct the object with the given file offset.
void putSliceuShortV(StManArrayFile &, const Slicer &, const Array< uShort > *dataPtr)
static void getVecfloatV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
void putSliceuIntV(StManArrayFile &, const Slicer &, const Array< uInt > *dataPtr)
Read/write array in external format for a storage manager.
static void putVecInt64V(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
uInt refCount(StManArrayFile &ios)
Get the reference count.
static void putVecfloatV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, const void *value)
static void getVecComplexV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
static void getVecDComplexV(StManArrayFile &, Int64 fileOffset, uInt arrayStart, uInt length, uInt increment, uInt valueIndex, void *value)
void putArrayShortV(StManArrayFile &, const Array< Short > *dataPtr)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
void getSlicedoubleV(StManArrayFile &, const Slicer &, Array< double > *dataPtr)
void putArrayuShortV(StManArrayFile &, const Array< uShort > *dataPtr)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.