26#ifndef CASA_ARRAYIO_2_H
27#define CASA_ARRAYIO_2_H
34#include <casacore/casa/Arrays/ArrayFwd.h>
100template <
typename T,
typename Alloc>
110template <
typename T,
typename Alloc>
113template <
typename T,
typename Alloc>
116template <
typename T,
typename Alloc>
172template <
typename T,
typename Alloc>
175template <
typename T,
typename Alloc>
189template <
typename T,
typename Alloc>
192template <
typename T,
typename Alloc>
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 > &array)
String: the storage and methods of handling collections of characters.
For temporary backward namespace compatibility, use casa as alias for casacore.
void readAsciiVector(Vector< T > &vec, const char *fileName)
These two functions read and write a Vector of data.
friend AipsIO & operator>>(AipsIO &os, Record &rec)
Read the Record from an input stream.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
T * array
The actual storage.
String name() const
Return the name of the field.
void writeAsciiVector(const Vector< T > &vec, const char *fileName)
LogIO & operator<<(LogIO &os, const Array< T > &a)
Write a formatted copy of the array to the LogIO output object.
void putArray(AipsIO &, const Array< T > &, const char *name)
AipsIO & operator>>(AipsIO &, Array< T > &)
AipsIO & operator<<(AipsIO &, const Array< T > &)
Read or write a binary representation of an Array to a file.
Global functions to read/write binary arrays from/to a file.
void write_array(const Array< T > &the_array, const char *fileName)
void write_array(const Array< T > &the_array, const std::string &fileName)
Write the values of an array in binary format into a file with the given name.
void read_array(Array< T > &the_array, const char *fileName)
void read_array(Array< T > &the_array, const std::string &fileName)
Read the values of an array in binary format from a file with the given name.