Senzing C++ SDK
C++ SDK for Senzing v4, patterned after the official C# SDK
Loading...
Searching...
No Matches
senzing::sdk::core::SzCoreConfig Class Referencefinal

Core implementation of SzConfig backed by the native SzConfig_* module. More...

#include <SzCoreConfig.hpp>

Inheritance diagram for senzing::sdk::core::SzCoreConfig:
Collaboration diagram for senzing::sdk::core::SzCoreConfig:

Public Member Functions

 SzCoreConfig (SzCoreEnvironment &env, std::string configDefinition)
 Constructs from the owning environment and an exported config definition (called by SzCoreConfigManager).
 
 ~SzCoreConfig () override=default
 
 SzCoreConfig (const SzCoreConfig &)=delete
 
SzCoreConfigoperator= (const SzCoreConfig &)=delete
 
std::string Export () override
 Exports this configuration as a JSON definition string.
 
std::string GetDataSourceRegistry () override
 Returns JSON describing the data sources registered in this config.
 
std::string RegisterDataSource (const std::string &dataSourceCode) override
 Registers a data source by code and returns the JSON describing it.
 
void UnregisterDataSource (const std::string &dataSourceCode) override
 Unregisters the data source identified by dataSourceCode.
 
- Public Member Functions inherited from senzing::sdk::SzConfig
virtual ~SzConfig ()=default
 

Detailed Description

Core implementation of SzConfig backed by the native SzConfig_* module.

Constructor & Destructor Documentation

◆ SzCoreConfig() [1/2]

senzing::sdk::core::SzCoreConfig::SzCoreConfig ( SzCoreEnvironment env,
std::string  configDefinition 
)

Constructs from the owning environment and an exported config definition (called by SzCoreConfigManager).

The native SzConfig_* module is assumed already initialized by the owning SzCoreConfigManager.

◆ ~SzCoreConfig()

senzing::sdk::core::SzCoreConfig::~SzCoreConfig ( )
overridedefault

◆ SzCoreConfig() [2/2]

senzing::sdk::core::SzCoreConfig::SzCoreConfig ( const SzCoreConfig )
delete

Member Function Documentation

◆ Export()

std::string senzing::sdk::core::SzCoreConfig::Export ( )
overridevirtual

Exports this configuration as a JSON definition string.

Implements senzing::sdk::SzConfig.

◆ GetDataSourceRegistry()

std::string senzing::sdk::core::SzCoreConfig::GetDataSourceRegistry ( )
overridevirtual

Returns JSON describing the data sources registered in this config.

Implements senzing::sdk::SzConfig.

◆ operator=()

SzCoreConfig & senzing::sdk::core::SzCoreConfig::operator= ( const SzCoreConfig )
delete

◆ RegisterDataSource()

std::string senzing::sdk::core::SzCoreConfig::RegisterDataSource ( const std::string &  dataSourceCode)
overridevirtual

Registers a data source by code and returns the JSON describing it.

Implements senzing::sdk::SzConfig.

◆ UnregisterDataSource()

void senzing::sdk::core::SzCoreConfig::UnregisterDataSource ( const std::string &  dataSourceCode)
overridevirtual

Unregisters the data source identified by dataSourceCode.

Implements senzing::sdk::SzConfig.


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