core/vsl/vsl_stream.h File Reference


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.

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 &x)
template<class T>
vcl_ostream & operator<< (vcl_ostream &os, const vsl_stream_summary_t< T > &sss)
 Insert conversion object into stream.

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 37 of file vsl_stream.h.

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

Definition at line 29 of file vsl_stream.h.


Generated on Fri Aug 29 05:05:52 2008 for core/vsl by  doxygen 1.5.1