STIR  6.2.0
Files | Functions
Collaboration diagram for Implementation details for functions that implement IO for Array objects:

Files

file  read_data_1d.h
 Declaration of stir::read_data_1d() functions for reading 1D stir::Array objects from file.
 
file  read_data_1d.inl
 Implementation of stir::read_data_1d() functions.
 
file  write_data_1d.h
 Declaration of stir::write_data_1d() functions for writing 1D stir::Array objects to file.
 
file  write_data_1d.inl
 Implementation of stir::write_data_1d() functions.
 

Functions

template<int num_dimensions, class elemT >
Succeeded stir::detail::read_data_1d (std::istream &s, Array< num_dimensions, elemT > &data, const ByteOrder byte_order)
 This is an internal function called by read_data(). It does the actual reading to std::istream. More...
 
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

Function Documentation

◆ read_data_1d()

template<int num_dimensions, class elemT >
Succeeded stir::detail::read_data_1d ( std::istream &  s,
Array< num_dimensions, elemT > &  data,
const ByteOrder  byte_order 
)
inline

◆ write_data_1d() [1/2]

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 
)
inline

◆ write_data_1d() [2/2]

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 
)
inline