|
STIR
6.3.0
|
|
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, ArrayType< 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 ArrayType< 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... | |
|
inline |
This is an internal function called by read_data(). It does the actual reading to std::istream.
This function might propagate any exceptions by std::istream::read.
References stir::Array< num_dimensions, elemT >::begin_all(), stir::Array< num_dimensions, elemT >::end_all(), stir::Array< num_dimensions, elemT >::get_full_data_ptr(), stir::ByteOrder::is_native_order(), stir::Array< num_dimensions, elemT >::release_full_data_ptr(), stir::Array< num_dimensions, elemT >::size_all(), and stir::warning().
|
inline |
This is an internal function called by write_data(). It does the actual writing to std::ostream.
This function does not throw any exceptions. Exceptions thrown by std::ostream::write are caught.
|
inline |
This is an internal function called by write_data(). It does the actual writing to FILE* using stdio functions.
This function does not throw any exceptions.
1.8.13