STIR  6.2.0
Classes | Namespaces | Functions

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

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

Go to the source code of this file.

Classes

class  stir::NumericInfo< NUMBER >
 class NumericInfo<NUMBER> defines properties for the type NUMBER. More...
 
class  stir::Array< num_dimensions, elemT >
 This class defines multi-dimensional (numeric) arrays. More...
 

Namespaces

 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 Array< num_dimensions, elemT > &data, const ByteOrder byte_order=ByteOrder::native, const bool can_corrupt_data=false)
 Write the data of an Array to file. More...
 
template<int num_dimensions, class OStreamT , class elemT , class OutputType , class ScaleT >
Succeeded stir::write_data (OStreamT &s, const Array< 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. More...
 
template<int num_dimensions, class OStreamT , class elemT , class OutputType , class ScaleT >
Succeeded stir::write_data_with_fixed_scale_factor (OStreamT &s, const Array< 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. More...
 
template<int num_dimensions, class OStreamT , class elemT , class ScaleT >
Succeeded stir::write_data (OStreamT &s, const Array< 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. More...
 

Detailed Description

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

Author
Kris Thielemans