28#ifndef CASA_ARRAYIO_2_H
29#define CASA_ARRAYIO_2_H
36#include <casacore/casa/Arrays/ArrayFwd.h>
43template<
typename T>
class Block;
102template<
typename T,
typename Alloc>
112template<
typename T,
typename Alloc>
115template<
typename T,
typename Alloc>
118template<
typename T,
typename Alloc>
174template <
typename T,
typename Alloc>
177template <
typename T,
typename Alloc>
179 { write_array (the_array, std::string(fileName)); }
190template <
typename T,
typename Alloc>
193template <
typename T,
typename Alloc>
195 { read_array (the_array, std::string(fileName)); }
206template <
typename T,
typename Alloc>
209template <
typename T,
typename Alloc>
219template<
typename T,
typename Alloc>
230#include <casacore/casa/IO/ArrayIO.tcc>
AipsIO & operator<<(AipsIO &aio, const IPosition &ip)
AipsIO & operator>>(AipsIO &aio, IPosition &ip)
Vector< T > makeVector(const Block< T > &block)
Vector< String > stringToVector(const String &string, char delim=',')
Block< T > makeBlock(const Array< T, Alloc > &array)
this file contains all the compiler specific defines
AipsIO & operator>>(AipsIO &os, Record &rec)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
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.
AipsIO & operator>>(AipsIO &, Array< T, Alloc > &)
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)
Global functions to read/write binary arrays from/to a file.
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.