storage::ConvertType< From, To > Struct Template Reference

Convert object of type from to object of type to. More...

#include <types.h>

List of all members.

Public Member Functions

bool operator() (const From &from, To &to) const

Detailed Description

template<typename From, typename To>
struct storage::ConvertType< From, To >

Convert object of type from to object of type to.

Definition at line 158 of file types.h.


Member Function Documentation

template<typename From , typename To >
bool storage::ConvertType< From, To >::operator() ( const From &  from,
To &  to 
) const [inline]
Returns:
True if the conversion was possible, false otherwise.

Definition at line 163 of file types.h.

00164     {
00165       to = (To)from;
00166       return true;
00167     }


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:38:13 2013 for VVE by  doxygen 1.6.3