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

Core implementation of SzProduct backed by the native SzProduct_* module. More...

#include <SzCoreProduct.hpp>

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

Public Member Functions

 SzCoreProduct (SzCoreEnvironment &env)
 Constructs and initializes the native product module using the owning environment's instance name / settings / verbose flag.
 
 ~SzCoreProduct () override=default
 
 SzCoreProduct (const SzCoreProduct &)=delete
 
SzCoreProductoperator= (const SzCoreProduct &)=delete
 
std::string GetLicense () override
 Returns the JSON describing the currently installed license.
 
std::string GetVersion () override
 Returns the JSON describing the currently installed product version.
 
void Destroy ()
 Destroys the native product module.
 
bool IsDestroyed ()
 True once the native module has been destroyed.
 
- Public Member Functions inherited from senzing::sdk::SzProduct
virtual ~SzProduct ()=default
 

Detailed Description

Core implementation of SzProduct backed by the native SzProduct_* module.

Constructor & Destructor Documentation

◆ SzCoreProduct() [1/2]

senzing::sdk::core::SzCoreProduct::SzCoreProduct ( SzCoreEnvironment env)
explicit

Constructs and initializes the native product module using the owning environment's instance name / settings / verbose flag.

Throws the mapped SzException on native init failure.

◆ ~SzCoreProduct()

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

◆ SzCoreProduct() [2/2]

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

Member Function Documentation

◆ Destroy()

void senzing::sdk::core::SzCoreProduct::Destroy ( )

Destroys the native product module.

Idempotent; called by the owning environment during teardown.

◆ GetLicense()

std::string senzing::sdk::core::SzCoreProduct::GetLicense ( )
overridevirtual

Returns the JSON describing the currently installed license.

Implements senzing::sdk::SzProduct.

◆ GetVersion()

std::string senzing::sdk::core::SzCoreProduct::GetVersion ( )
overridevirtual

Returns the JSON describing the currently installed product version.

Implements senzing::sdk::SzProduct.

◆ IsDestroyed()

bool senzing::sdk::core::SzCoreProduct::IsDestroyed ( )

True once the native module has been destroyed.

◆ operator=()

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

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