28 #ifndef CASA_ARRAYIO_2_H
29 #define CASA_ARRAYIO_2_H
43 template<
typename T>
class Block;
102 template<
typename T,
typename Alloc>
103 LogIO &operator<<(LogIO &os, const Array<T, Alloc> &a);
112 template<
typename T,
typename Alloc>
113 AipsIO &operator<< (AipsIO &, const Array<T, Alloc> &);
115 template<
typename T,
typename Alloc>
118 template<
typename T,
typename Alloc>
174 template <
typename T,
typename Alloc>
175 void write_array (
const Array<T, Alloc>& the_array,
const std::string& fileName);
177 template <
typename T,
typename Alloc>
179 { write_array (the_array, std::string(fileName)); }
190 template <
typename T,
typename Alloc>
191 void read_array (
Array<T, Alloc>& the_array,
const std::string& fileName);
193 template <
typename T,
typename Alloc>
195 { read_array (the_array, std::string(fileName)); }
206 template <
typename T,
typename Alloc>
209 template <
typename T,
typename Alloc>
219 template<
typename T,
typename Alloc>
230 #include <casacore/casa/IO/ArrayIO.tcc>
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.
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
void read_array(Array< T, Alloc > &the_array, const char *fileName)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
Block< T > makeBlock(const Array< T, Alloc > &array)
ostream-like interface to creating log messages.
void write_array(const Array< T, Alloc > &the_array, const char *fileName)
Vector< String > stringToVector(const String &string, char delim= ',')
void writeAsciiVector(const Vector< T, Alloc > &vec, const char *fileName)
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
Vector< T > makeVector(const Block< T > &block)
void readAsciiVector(Vector< T, Alloc > &vec, const char *fileName)
These two functions read and write a Vector of data.
String: the storage and methods of handling collections of characters.
AipsIO & operator>>(AipsIO &os, Record &rec)