STIR 6.4.0
stream.inl File Reference

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

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

Go to the source code of this file.

Namespaces

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

Detailed Description

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

Author
Kris Thielemans
PARAPET project