Util::PrintForVector< T > Class Template Reference

#include <util.h>

List of all members.

Public Member Functions

 PrintForVector (std::ostream &os)
void operator() (const T &x)


Detailed Description

template<class T>
class Util::PrintForVector< T >

This template provides a helper class for the template function below for std::vector<T> operator <<

Definition at line 142 of file util.h.


Constructor & Destructor Documentation

template<class T>
Util::PrintForVector< T >::PrintForVector ( std::ostream &  os  )  [inline, explicit]

Constructor

Definition at line 146 of file util.h.


Member Function Documentation

template<class T>
void Util::PrintForVector< T >::operator() ( const T &  x  )  [inline]

allows for_each to provide appropriate output for vector elements

Definition at line 151 of file util.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 27 16:03:53 2007 for mcmc by  doxygen 1.5.1