1 #ifndef __stir_IO_read_data_H__ 2 #define __stir_IO_read_data_H__ 29 template <
int num_dimensions,
class elemT>
44 template <
int num_dimensions,
class IStreamT,
class elemT>
45 inline Succeeded
read_data(IStreamT& s, Array<num_dimensions, elemT>& data,
const ByteOrder byte_order = ByteOrder::native);
59 template <
int num_dimensions,
class IStreamT,
class elemT,
class InputType,
class ScaleT>
61 Array<num_dimensions, elemT>& data,
62 NumericInfo<InputType> input_type,
64 const ByteOrder byte_order = ByteOrder::native);
76 template <
int num_dimensions,
class IStreamT,
class elemT,
class ScaleT>
78 Array<num_dimensions, elemT>& data,
81 const ByteOrder byte_order = ByteOrder::native);
This file declares the stir::ByteOrder class.
Implementation of stir::read_data() functions for reading stir::Array's from file.
Succeeded read_data(IStreamT &s, Array< num_dimensions, elemT > &data, NumericType type, ScaleT &scale, const ByteOrder byte_order=ByteOrder::native)
Read the data of an Array from file as a different type.
Definition: read_data.inl:96