Classes | Functions
core/vsl/vsl_stream.h File Reference

Allows you to use the stream output operator instead of vsl_print_summary. More...

#include <vcl_ostream.h>

Go to the source code of this file.

Classes

struct  vsl_stream_summary_t< T >
 Convert a vsl_print_summary function call to a streamable object. More...

Functions

template<class S >
vsl_stream_summary_t< S > vsl_stream_summary (const S &xx)
template<class T >
vcl_ostream & operator<< (vcl_ostream &os, const vsl_stream_summary_t< T > &sss)
 Insert conversion object into stream.

Detailed Description

Allows you to use the stream output operator instead of vsl_print_summary.

Author:
Ian Scott So instead of
   os << "Blah: ";
   vsl_print_summary(os, blah);
you can use
   os << "Blah: " << vsl_stream_summary(blah);

Definition in file vsl_stream.h.


Function Documentation

template<class T >
vcl_ostream& operator<< ( vcl_ostream &  os,
const vsl_stream_summary_t< T > &  sss 
) [inline]

Insert conversion object into stream.

Definition at line 38 of file vsl_stream.h.

template<class S >
vsl_stream_summary_t<S> vsl_stream_summary ( const S &  xx) [inline]

Definition at line 30 of file vsl_stream.h.