STIR  6.2.0
Namespaces | Functions
stream.inl File Reference

Input/output of basic vector-like types to/from streams. More...

#include <algorithm>
#include "stir/warning.h"

Namespaces

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

Functions

template<typename elemT >
std::ostream & stir::operator<< (std::ostream &str, const VectorWithOffset< elemT > &v)
 Outputs a VectorWithOffset to a stream. More...
 
template<int num_dimensions, typename coordT >
std::ostream & stir::operator<< (std::ostream &str, const BasicCoordinate< num_dimensions, coordT > &v)
 Outputs a BasicCoordinate to a stream. More...
 
template<typename elemT >
std::ostream & stir::operator<< (std::ostream &str, const std::vector< elemT > &v)
 Outputs a vector to a stream. More...
 
template<typename elemT >
std::istream & stir::operator>> (std::istream &str, std::vector< elemT > &v)
 Inputs a vector from a stream. More...
 
template<typename elemT >
std::istream & stir::operator>> (std::istream &str, VectorWithOffset< elemT > &v)
 Inputs a VectorWithOffset from a stream. More...
 
template<int num_dimensions, typename coordT >
std::istream & stir::operator>> (std::istream &str, BasicCoordinate< num_dimensions, coordT > &v)
 Inputs a coordinate from a stream. More...
 

Detailed Description

Input/output of basic vector-like types to/from streams.

Author
Kris Thielemans
PARAPET project