cartobase  4.5.0
carto::ConverterAllocator< INP, OUTP > Class Template Reference

This allocator is used by the top-level Converter to allocate a new object depending on the input: it is responsible for dimensioning the output object (ie image dimensions etc) More...

#include <cartobase/type/converter.h>

Static Public Member Functions

static OUTP * alloc (const INP &in)
 

Detailed Description

template<typename INP, typename OUTP>
class carto::ConverterAllocator< INP, OUTP >

This allocator is used by the top-level Converter to allocate a new object depending on the input: it is responsible for dimensioning the output object (ie image dimensions etc)

Definition at line 162 of file converter.h.

Member Function Documentation

template<class INP , class OUTP >
OUTP * carto::ConverterAllocator< INP, OUTP >::alloc ( const INP &  in)
inlinestatic

Definition at line 322 of file converter.h.

Referenced by carto::Converter< INP, OUTP >::operator()().


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