Mapping factory collection class registry.
More...
#include <mapping_engine.h>
Mapping factory collection class registry.
◆ add() [1/3]
| void ddl::mapping::MapperFactories::add |
( |
std::shared_ptr< const FunctionFactory > | function_factory | ) |
|
Adds a Function factory to the collection.
- Parameters
-
◆ add() [2/3]
| void ddl::mapping::MapperFactories::add |
( |
std::shared_ptr< const SourceFactory > | source_factory | ) |
|
Adds a Source factory to the collection.
- Parameters
-
◆ add() [3/3]
| void ddl::mapping::MapperFactories::add |
( |
std::shared_ptr< const TargetFactory > | target_factory | ) |
|
Adds a Target factory to the collection.
- Parameters
-
◆ getFunctionFactories()
| const std::unordered_map< std::string, std::shared_ptr< const FunctionFactory > > & ddl::mapping::MapperFactories::getFunctionFactories |
( |
| ) |
const |
Get all current registered function factories.
- Returns
- const std::unordered_map<std::string, std::shared_ptr<const FunctionFactory>>&
◆ getSourceFactories()
| const std::unordered_map< std::string, std::shared_ptr< const SourceFactory > > & ddl::mapping::MapperFactories::getSourceFactories |
( |
| ) |
const |
Get all current registered source factories.
- Returns
- const std::unordered_map<std::string, std::shared_ptr<const SourceFactory>>&
◆ getTargetFactories()
| const std::unordered_map< std::string, std::shared_ptr< const TargetFactory > > & ddl::mapping::MapperFactories::getTargetFactories |
( |
| ) |
const |
Get all current registered target factories.
- Returns
- const std::unordered_map<std::string, std::shared_ptr<const TargetFactory>>&
◆ makeFunction()
| std::shared_ptr< Function > ddl::mapping::MapperFactories::makeFunction |
( |
const std::string & | type, |
|
|
std::string | name, |
|
|
Properties | properties ) const |
Creates a function of given type.
- Parameters
-
| type | The type of the function (i.e. "ddl_enum_table") |
| name | The unique name of the function |
| properties | The properties to initialize the function with. |
- Returns
- std::shared_ptr<Function>
◆ makeSource()
| std::shared_ptr< Source > ddl::mapping::MapperFactories::makeSource |
( |
const std::string & | type, |
|
|
std::string | name, |
|
|
Properties | properties ) const |
Creates a source of given type.
- Parameters
-
| type | The type of the source (i.e. "ddl") |
| name | The unique name of the source |
| properties | The properties to initialize the source with. |
- Returns
- std::shared_ptr<Source>
◆ makeTarget()
| std::shared_ptr< Target > ddl::mapping::MapperFactories::makeTarget |
( |
const std::string & | type, |
|
|
std::string | name, |
|
|
Properties | properties ) const |
Creates a target of given type.
- Parameters
-
| type | The type of the target (i.e. "ddl") |
| name | The unique name of the target |
| properties | The properties to initialize the target with. |
- Returns
- std::shared_ptr<Target>
The documentation for this class was generated from the following file: