STIR  6.2.0
Namespaces | Functions
stream.h File Reference

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

#include "stir/VectorWithOffset.h"
#include "stir/BasicCoordinate.h"
#include "stir/Bin.h"
#include "stir/DetectionPosition.h"
#include "stir/DetectionPositionPair.h"
#include <iostream>
#include <vector>
#include "stir/stream.inl"

Go to the source code of this file.

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...
 
std::ostream & stir::operator<< (std::ostream &out, const Bin &bin)
 Outputs a Bin to a stream.Output is of the form. More...
 
template<class T >
std::ostream & stir::operator<< (std::ostream &out, const DetectionPosition< T > &det_pos)
 Outputs a DetectionPosition to a stream.Output is of the form. More...
 
template<class T >
std::ostream & stir::operator<< (std::ostream &out, const DetectionPositionPair< T > &det_pos)
 Outputs a DetectionPosition to a stream.Output is of the form. 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