Go to the documentation of this file.
28 #ifndef CASA_AIPSIOCARRAY_H
29 #define CASA_AIPSIOCARRAY_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/IO/AipsIO.h>
106 void putAipsIO (
AipsIO& aios,
uInt n,
const T* data);
111 void getAipsIO (
AipsIO& aios,
uInt n, T* data);
123 void getnewAipsIO (
AipsIO& aios,
uInt& n, T** data);
129 #define AIPSIO_FUNC_SPEC(T) \
130 inline void putAipsIO (AipsIO& aios, uInt n, const T* data) \
131 { aios.put (n, data); } \
132 inline void getAipsIO (AipsIO& aios, uInt n, T* data) \
133 { aios.get (n, data); } \
134 inline void getnewAipsIO (AipsIO& aios, uInt& n, T** data) \
135 { aios.getnew (n, *data); }
159 #ifndef CASACORE_NO_AUTO_TEMPLATES
160 #include <casacore/casa/IO/AipsIOCarray.tcc>
161 #endif //# CASACORE_NO_AUTO_TEMPLATES
AipsIO is the object persistency mechanism of Casacore
Templated functions to get/put a C-style array from/into AipsIO.
std::complex< Double > DComplex
#define AIPSIO_FUNC_SPEC(T)
this file contains all the compiler specific defines
void getnewAipsIO(AipsIO &aios, uInt &n, T **data)
Get elements into a C-style array to be allocated on the heap.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
void getAipsIO(AipsIO &aios, uInt n, T *data)
Get n elements into an already available C-style array.
bool Bool
Define the standard types used by Casacore.
std::complex< Float > Complex
void putAipsIO(AipsIO &aios, uInt n, const T *data)
Put a C-style array of n elements.
unsigned long long uInt64