1#ifndef __stir_IO_write_data_1d_H__
2#define __stir_IO_write_data_1d_H__
37template <
int num_dimensions,
class elemT>
39write_data_1d(std::ostream& s,
const Array<num_dimensions, elemT>& data,
const ByteOrder byte_order,
const bool can_corrupt_data);
47template <
int num_dimensions,
class elemT>
51 const bool can_corrupt_data);
forward declaration of stir::Array class for multi-dimensional (numeric) arrays
This class provides member functions to find out what byte-order your machine is and to swap numbers.
Definition ByteOrder.h:100
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
Succeeded write_data_1d(std::ostream &s, const Array< num_dimensions, elemT > &data, const ByteOrder byte_order, const bool can_corrupt_data)
This is an internal function called by write_data(). It does the actual writing to std::ostream.
Definition write_data_1d.inl:33
Array< num_dimensions, elemT > ArrayType
type alias for future-proofing for "large" rectangular arrays
Definition ArrayFwd.h:25
Implementation of stir::write_data_1d() functions.