STIR 6.4.0

declarations of stir::write_data() functions for writing Arrays to file More...

#include "stir/ByteOrder.h"
#include "stir/ArrayFwd.h"
#include "stir/IO/write_data.inl"

Go to the source code of this file.

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

template<int num_dimensions, class OStreamT, class elemT>
Succeeded stir::write_data (OStreamT &s, const ArrayType< num_dimensions, elemT > &data, const ByteOrder byte_order=ByteOrder::native, const bool can_corrupt_data=false)
 Write the data of an Array to file.
 
template<int num_dimensions, class OStreamT, class elemT, class OutputType, class ScaleT>
Succeeded stir::write_data (OStreamT &s, const ArrayType< num_dimensions, elemT > &data, NumericInfo< OutputType > output_type, ScaleT &scale_factor, const ByteOrder byte_order=ByteOrder::native, const bool can_corrupt_data=false)
 Write the data of an Array to file as a different type.
 
template<int num_dimensions, class OStreamT, class elemT, class OutputType, class ScaleT>
Succeeded stir::write_data_with_fixed_scale_factor (OStreamT &s, const ArrayType< num_dimensions, elemT > &data, NumericInfo< OutputType > output_type, const ScaleT scale_factor, const ByteOrder byte_order=ByteOrder::native, const bool can_corrupt_data=false)
 Write the data of an Array to file as a different type but using a given scale factor.
 
template<int num_dimensions, class OStreamT, class elemT, class ScaleT>
Succeeded stir::write_data (OStreamT &s, const ArrayType< num_dimensions, elemT > &data, NumericType type, ScaleT &scale, const ByteOrder byte_order=ByteOrder::native, const bool can_corrupt_data=false)
 Write the data of an Array to file as a different type.
 

Detailed Description

declarations of stir::write_data() functions for writing Arrays to file

Author
Kris Thielemans