28 #ifndef CASA_ARRAYIO_2_H
29 #define CASA_ARRAYIO_2_H
36 #include <casacore/casa/Arrays/ArrayFwd.h>
43 template<
typename T>
class Block;
102 template<
typename T,
typename Alloc>
112 template<
typename T,
typename Alloc>
115 template<
typename T,
typename Alloc>
118 template<
typename T,
typename Alloc>
174 template <
typename T,
typename Alloc>
177 template <
typename T,
typename Alloc>
179 { write_array (the_array, std::string(fileName)); }
190 template <
typename T,
typename Alloc>
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>
Block< T > makeBlock(const Array< T, Alloc > &array)
Vector< T > makeVector(const Block< T > &block)
Vector< String > stringToVector(const String &string, char delim=',')
this file contains all the compiler specific defines
void readAsciiVector(Vector< T, Alloc > &vec, const char *fileName)
These two functions read and write a Vector of data.
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
void writeAsciiVector(const Vector< T, Alloc > &vec, const char *fileName)
TableExprNode regex(const TableExprNode &node)
Functions for regular expression matching and pattern matching.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
AipsIO & operator>>(AipsIO &os, Record &rec)
LogIO & operator<<(LogIO &os, const Array< T, Alloc > &a)
Write a formatted copy of the array to the LogIO output object.
void putArray(AipsIO &, const Array< T, Alloc > &, const char *name)
void read_array(Array< T, Alloc > &the_array, const char *fileName)
void write_array(const Array< T, Alloc > &the_array, const char *fileName)
void read_array(Array< T, Alloc > &the_array, const std::string &fileName)
Read the values of an array in binary format from a file with the given name.
void write_array(const Array< T, Alloc > &the_array, const std::string &fileName)
Write the values of an array in binary format into a file with the given name.