|
Senzing C++ SDK
C++ SDK for Senzing v4, patterned after the official C# SDK
|
A C++ SDK for Senzing v4, patterned 1:1 after the official C# SDK. Type names, method names, flag/constant names, and the exception hierarchy match the C# SDK character-for-character (PascalCase); the underlying types are the natural C++ equivalents (std::string, int64_t, std::optional, STL containers).
| Namespace | Role |
|---|---|
senzing::sdk | Abstract interfaces, flags, exception types, constants — no implementation. |
senzing::sdk::core | Native-backed implementation that calls the Senzing native library (libSz). |
Consumers program against the senzing::sdk abstractions; only senzing::sdk::core touches the native library.
The environment is constructed via a fluent builder and torn down with Destroy():
See the examples/ directory for runnable, per-subsystem programs.
All engine errors derive from SzException. SzEnvironmentDestroyedException is deliberately outside that tree (it extends std::logic_error), signalling misuse of an environment after Destroy() rather than an engine error.