cartobase  5.0.5
carto::ConverterSwitch< INP, OUTP, false > Class Template Reference

Specialization of non-rescaling ConverterSwitch. More...

#include <cartobase/type/converter.h>

Inheritance diagram for carto::ConverterSwitch< INP, OUTP, false >:
Collaboration diagram for carto::ConverterSwitch< INP, OUTP, false >:

Public Member Functions

 ConverterSwitch (const RescalerInfo &)
 
 ConverterSwitch ()
 
- Public Member Functions inherited from carto::RawConverter< INP, OUTP >
void convert (const INP &in, OUTP &out) const
 

Detailed Description

template<typename INP, typename OUTP>
class carto::ConverterSwitch< INP, OUTP, false >

Specialization of non-rescaling ConverterSwitch.

Todo:
This is not completely satisfactory: this class is instantiated in cases where rescaling has been requested, but the rescaling parameters are ignored silently. This may be acceptable if no explicit rescaling parameters are passed, but the constructor of this class should probably throw an exception if explicit rescaling has been requested (i.e. RescalerInfo::explicitRescale() returns true).

Definition at line 192 of file converter.h.

Constructor & Destructor Documentation

◆ ConverterSwitch() [1/2]

template<typename INP , typename OUTP >
carto::ConverterSwitch< INP, OUTP, false >::ConverterSwitch ( const RescalerInfo )
inline

Definition at line 195 of file converter.h.

◆ ConverterSwitch() [2/2]

template<typename INP , typename OUTP >
carto::ConverterSwitch< INP, OUTP, false >::ConverterSwitch ( )
inline

Definition at line 197 of file converter.h.


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