STIR 6.5.0
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 "stir/LORCoordinates.h"
#include <iostream>
#include <vector>
#include "stir/stream.inl"

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.
std::ostream & stir::operator<< (std::ostream &out, const Bin &bin)
 Outputs a Bin to a stream.
template<class T>
std::ostream & stir::operator<< (std::ostream &out, const DetectionPosition< T > &det_pos)
 Outputs a DetectionPosition to a stream.
template<class T>
std::ostream & stir::operator<< (std::ostream &out, const DetectionPositionPair< T > &det_pos)
 Outputs a DetectionPositionPair to a stream.
template<class T>
std::ostream & stir::operator<< (std::ostream &out, const LORAs2Points< T > &lor)
 Outputs a LORAs2Points to a stream.
template<class T>
std::ostream & stir::operator<< (std::ostream &out, const LORInAxialAndNoArcCorrSinogramCoordinates< T > &lor)
 Outputs a LORInAxialAndNoArcCorrSinogramCoordinates 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