Public Member Functions | Static Public Member Functions | List of all members
Convert2< T > Class Template Reference

Utility class with static conversions. More...

#include <Convert.h>

Public Member Functions

void convertFrom (const Castable &src, D &dst)
 
void convert (const char *src, Castable &dst)
 
void convertTo (const S &src, Castable &dst)
 

Static Public Member Functions

static void convert (const T &src, T &dst)
 Trivial case: source and destination are of same class.
 
static void convert (const char *src, T &dst)
 
template<class D >
static void convert (const T &src, D &dst)
 
template<class S >
static void convert (const S &src, T &dst)
 
template<class D >
static void convertFrom (const T &src, D &dst)
 Convert with cast source type.
 
template<class S >
static void convertTo (const S &src, T &dst)
 Convert with cast target type.
 

Detailed Description

template<class T>
class drain::Convert2< T >

Utility class with static conversions.


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