Public Member Functions | List of all members
ecl::Converter< Output, Input > Class Template Reference

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

#include <converter.hpp>

Inheritance diagram for ecl::Converter< Output, Input >:
Inheritance graph

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

Definition at line 56 of file converter.hpp.

Constructor & Destructor Documentation

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

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.

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

Definition at line 91 of file converter.hpp.

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

Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:22