1 #ifndef CASACORE_ARRAYSTR_H
2 #define CASACORE_ARRAYSTR_H
16 template<
typename T,
typename Alloc>
17 std::ostream &
operator << (std::ostream &,
const Array<T, Alloc> &);
58 template<
typename T,
typename Alloc>
59 std::istream &
operator>> (std::istream &s, Array<T, Alloc> &x);
61 template<
typename T,
typename Alloc>
62 bool read(std::istream &s, Array<T, Alloc> &x,
63 const IPosition *ip=0,
bool it=
false);
79 template<
typename T,
typename Alloc>
bool readArrayBlock(std::istream &s,
bool &trans,
81 std::vector<T, Alloc> &x,
82 const IPosition *ip=0,
bool it=
false);
133 template <
typename T,
typename Alloc>
134 void readAsciiMatrix (Matrix<T, Alloc>& mat,
const char* fileName);
136 template <
typename T,
typename Alloc>
137 void writeAsciiMatrix (
const Matrix<T, Alloc>& mat,
const char* fileName);
140 template<
typename T,
typename Alloc>
145 #include "ArrayStr.tcc"
this file contains all the compiler specific defines
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
std::string to_string(const IPosition &ip)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
AipsIO & operator>>(AipsIO &os, Record &rec)