STIR  6.2.0
Namespaces | Functions

Implementation of stir::write_data_1d() functions. More...

#include "stir/Array.h"
#include "stir/Succeeded.h"
#include "stir/ByteOrder.h"
#include "stir/warning.h"
#include <fstream>

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 
 stir::detail
 Namespace for the implementation details of the STIR library.
 

Functions

template<int num_dimensions, class elemT >
Succeeded stir::detail::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. More...
 
template<int num_dimensions, class elemT >
Succeeded stir::detail::write_data_1d (FILE *&fptr_ref, 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 FILE* using stdio functions. More...
 

Detailed Description

Implementation of stir::write_data_1d() functions.

Author
Kris Thielemans