28 #ifndef CASA_ARRAYIO_H
29 #define CASA_ARRAYIO_H
43 template<
class T>
class Array;
44 template<
class T>
class Matrix;
45 template<
class T>
class Vector;
46 template<
class T>
class Cube;
47 template<
class T>
class Block;
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.
std::vector< double > Vector
AipsIO is the object persistency mechanism of Casacore.
ostream & operator>>(ostream &is, MVTime &meas)
A 2-D Specialization of the Array class.
ostream-like interface to creating log messages.
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.