28 #ifndef CASA_ARRAYIO_H 29 #define CASA_ARRAYIO_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/BasicSL/String.h> 36 #include <casacore/casa/iosfwd.h> 43 template<
class T>
class Array;
44 template<
class T>
class Matrix;
46 template<
class T>
class Cube;
110 template<
class T> ostream &operator << (ostream &, const Array<T> &);
114 template<
class T>
LogIO &operator<<(LogIO &os, const Array<T> &a);
176 template<
class T>
Bool readArrayBlock(istream &s,
Bool &trans,
189 template<
class T>
AipsIO &operator<< (AipsIO &, const Array<T> &);
250 void write_array (
const Array<T>& the_array,
const String& fileName);
254 { write_array (the_array,
String(fileName)); }
270 { read_array (the_array,
String(fileName)); }
330 void writeAsciiMatrix (
const Matrix<T>& mat,
const Char* fileName);
344 void writeAsciiVector (
const Vector<T>& vec,
const Char* fileName);
353 #ifndef CASACORE_NO_AUTO_TEMPLATES 354 #include <casacore/casa/Arrays/ArrayIO.tcc> 355 #endif //# CASACORE_NO_AUTO_TEMPLATES A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
AipsIO is the object persistency mechanism of Casacore.
A 3-D Specialization of the Array class.
A 2-D Specialization of the Array class.
ostream-like interface to creating log messages.
void write_array(const Array< T > &the_array, const Char *fileName)
void read_array(Array< T > &the_array, const Char *fileName)
bool Bool
Define the standard types used by Casacore.
template <class T, class U> class vector;
String: the storage and methods of handling collections of characters.
AipsIO & operator>>(AipsIO &os, Record &rec)
this file contains all the compiler specific defines