dlr::common::StaticCastFunctor< TypeIn, TypeOut > Struct Template Reference

Functor template which uses static_cast to convert instances of one type into instances of another. More...

#include <functional.h>

List of all members.

Public Member Functions

TypeOut operator() (const TypeIn &input)
 Static cast the input argument to TypeOut, and return the result.


Detailed Description

template<class TypeIn, class TypeOut>
struct dlr::common::StaticCastFunctor< TypeIn, TypeOut >

Functor template which uses static_cast to convert instances of one type into instances of another.

Definition at line 356 of file dlrCommon/functional.h.


Member Function Documentation

template<class TypeIn, class TypeOut>
TypeOut dlr::common::StaticCastFunctor< TypeIn, TypeOut >::operator() ( const TypeIn &  input  )  [inline]

Static cast the input argument to TypeOut, and return the result.

Parameters:
input Will be cast to type TypeOut.
Returns:
The result of the cast.

Definition at line 366 of file dlrCommon/functional.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 9 20:34:20 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2