Public Member Functions
ecl::Converter< Output, Input > Class Template Reference

Primary template and general fallback for converter classes. More...

#include <converter.hpp>

List of all members.

Public Member Functions

Output operator() (const Input &input)
virtual ~Converter ()

Detailed Description

template<typename Output, typename Input = void>
class ecl::Converter< Output, Input >

Primary template and general fallback for converter classes.

This is the primary template for all converter classes. It also provides a default fallback for a single type conversion where both input and output types are defined in as template parameters.

See also:
Converter<Output,void>

Definition at line 56 of file converter.hpp.


Constructor & Destructor Documentation

template<typename Output, typename Input = void>
virtual ecl::Converter< Output, Input >::~Converter ( ) [inline, virtual]

Definition at line 58 of file converter.hpp.


Member Function Documentation

template<typename Output , typename Input >
Output ecl::Converter< Output, Input >::operator() ( const Input &  input)

The default fallback for converting a specific input type to a specific output type. This looks inside the output template argument's class for the required converter.

Parameters:
input: the input value to be converted.
Returns:
Output : the converted type.

Definition at line 91 of file converter.hpp.


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


ecl_converters
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:28