|
C++ Server-Side SDK
LaunchDarkly SDK
|


Public Member Functions | |
| std::string const & | Namespace () const override |
| std::uint64_t | Version (std::string const &data) const override |
Public Member Functions inherited from launchdarkly::server_side::integrations::ISerializedItemKind | |
| ISerializedItemKind (ISerializedItemKind const &item)=delete | |
| ISerializedItemKind (ISerializedItemKind &&item)=delete | |
| ISerializedItemKind & | operator= (ISerializedItemKind const &)=delete |
| ISerializedItemKind & | operator= (ISerializedItemKind &&)=delete |
|
overridevirtual |
The namespace for the data.
Implements launchdarkly::server_side::integrations::ISerializedItemKind.
|
overridevirtual |
Deserialize data and return the version of the data.
This is for cases where the persistent store cannot avoid deserializing data to determine its version. For instance a Redis store where the only columns are the prefixed key and the serialized data.
If the data cannot be deserialized, then 0 will be returned.
| data | The data to deserialize. |
Implements launchdarkly::server_side::integrations::ISerializedItemKind.