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

Primary template for the output-designated only converters. More...

#include <converter.hpp>

Inheritance diagram for ecl::Converter< Output, void >:
Inheritance graph
[legend]

Public Member Functions

template<typename Input >
Output operator() (const Input &input)
 
virtual ~Converter ()
 

Detailed Description

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

Primary template for the output-designated only converters.

This is the primary template for the sub-family of converters which only designate the output in the template argument. These are designed to incorporate a group of conversions to the specified output type (convenience class).

Definition at line 77 of file converter.hpp.

Constructor & Destructor Documentation

◆ ~Converter()

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

Definition at line 79 of file converter.hpp.

Member Function Documentation

◆ operator()()

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

The generalised fallback for converting various input types 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 112 of file converter.hpp.


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


ecl_converters
Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:09