cartobase
5.0.5
|
ShallowConverter only differs from the "standard" Converter in the way that it may make shallow copies of objects if input and output types are identical. More...
#include <cartobase/type/converter.h>
Public Member Functions | |
ShallowConverter (bool rescale=false) | |
ShallowConverter (bool rescale, RescalerInfo &info) | |
Public Member Functions inherited from carto::Converter< INP, OUTP > | |
Converter (bool rescale=false) | |
Converter (bool rescale, const RescalerInfo &info) | |
virtual | ~Converter () |
OUTP * | operator() (const INP &in) const |
Converts an INP type data to an OUTP data. More... | |
virtual void | convert (const INP &in, OUTP &out) const |
Converts INP into an existing OUTP object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from carto::Converter< INP, OUTP > | |
bool | _rescale |
RescalerInfo | _info |
ShallowConverter only differs from the "standard" Converter in the way that it may make shallow copies of objects if input and output types are identical.
When INP and OUTP types are different, it is the same as Converter.
Definition at line 257 of file converter.h.
|
inline |
Definition at line 260 of file converter.h.
|
inline |
Definition at line 262 of file converter.h.