cheshirekow  v0.1.0
mpblocks::cuda::ExceptionStream< Exception_t > Class Template Reference

used to simplify the process of generating an exception message More...

#include <mpblocks/cuda/ExceptionStream.h>

Inheritance diagram for mpblocks::cuda::ExceptionStream< Exception_t >:

Public Member Functions

std::ostream & operator() ()
 
 ~ExceptionStream ()
 

Detailed Description

template<typename Exception_t>
class mpblocks::cuda::ExceptionStream< Exception_t >

used to simplify the process of generating an exception message

Derives from stringstream so provides an ostream interface, but throws an exception with the contents of the string when the object is destroyed

Template Parameters
Exception_tmust be an exception type which accepts a const char* in it's constructor

Definition at line 50 of file ExceptionStream.h.

Constructor & Destructor Documentation

template<typename Exception_t >
mpblocks::cuda::ExceptionStream< Exception_t >::~ExceptionStream ( )
inline

Definition at line 54 of file ExceptionStream.h.

Member Function Documentation

template<typename Exception_t >
std::ostream& mpblocks::cuda::ExceptionStream< Exception_t >::operator() ( )
inline

Definition at line 59 of file ExceptionStream.h.


The documentation for this class was generated from the following file: