1 #ifndef __stir_IO_write_data_1d_H__ 2 #define __stir_IO_write_data_1d_H__ 37 template <
int num_dimensions,
class elemT>
39 write_data_1d(std::ostream& s,
const Array<num_dimensions, elemT>& data,
const ByteOrder byte_order,
const bool can_corrupt_data);
47 template <
int num_dimensions,
class elemT>
49 const ArrayType<num_dimensions, elemT>& data,
50 const ByteOrder byte_order,
51 const bool can_corrupt_data);
forward declaration of stir::Array class for multi-dimensional (numeric) arrays
Converts a string literal into a format string that will be parsed at compile time and converted into...
Definition: args.h:20
Implementation of stir::write_data_1d() functions.
Succeeded write_data_1d(FILE *&fptr_ref, const ArrayType< 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 FILE* using stdio ...