ADTF
Loading...
Searching...
No Matches
ddl::mapping::TargetFactoryImplementation< TargetType > Class Template Reference

TargetFactory implementation template. More...

#include <mapper_base_types.h>

Inherits ddl::mapping::SpecificMapperFactory< Target >.

Public Member Functions

std::string getType () const override
 Get the Type as string.
 
Properties getDefaultProperties () const override
 Get the default properties to initialize the Source, Target or Function with.
 
std::shared_ptr< Targetmake (std::string name, Properties properties) const override
 Factory create function which creates a Source, Target or Function instance with a name and intialize it with given properties.
 
- Public Member Functions inherited from ddl::mapping::MapperFactory
virtual ~MapperFactory ()=default
 DTOR.
 

Detailed Description

template<typename TargetType>
class ddl::mapping::TargetFactoryImplementation< TargetType >

TargetFactory implementation template.

Template Parameters
TargetTypeThe target type to create

Member Function Documentation

◆ getDefaultProperties()

template<typename TargetType>
Properties ddl::mapping::TargetFactoryImplementation< TargetType >::getDefaultProperties ( ) const
inlineoverridevirtual

Get the default properties to initialize the Source, Target or Function with.

Returns
Properties

Implements ddl::mapping::MapperFactory.

◆ getType()

template<typename TargetType>
std::string ddl::mapping::TargetFactoryImplementation< TargetType >::getType ( ) const
inlineoverridevirtual

Get the Type as string.

Returns
std::string

Implements ddl::mapping::MapperFactory.

◆ make()

template<typename TargetType>
std::shared_ptr< Target > ddl::mapping::TargetFactoryImplementation< TargetType >::make ( std::string name,
Properties properties ) const
inlineoverridevirtual

Factory create function which creates a Source, Target or Function instance with a name and intialize it with given properties.

Parameters
namethe name
propertiesthe properties to initialize with
Returns
std::shared_ptr<ElementType>

Implements ddl::mapping::SpecificMapperFactory< Target >.


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