Class StringNetworkCallback

class StringNetworkCallback : public StringDictionary::StringCallback

Public Functions

StringNetworkCallback(StringDictionaryProxy *sdp, StringDictionaryProxy::IdMap &id_map)
void operator()(std::string const &str, int32_t const old_id)
void operator()(std::string_view const, int32_t const string_id)

Private Types

using Lambda = std::function<int32_t(std::string const&)>

Private Members

StringDictionaryProxy *sdp_
StringDictionaryProxy::IdMap &id_map_
Lambda const string_to_id_