OmniSciDB
a5dc49c757
|
Public Member Functions | |
StringNetworkCallback (StringDictionaryProxy *sdp, StringDictionaryProxy::IdMap &id_map) | |
void | operator() (std::string const &str, int32_t const old_id) override |
void | operator() (std::string_view const, int32_t const string_id) override |
Public Member Functions inherited from StringDictionary::StringCallback | |
virtual | ~StringCallback ()=default |
Private Types | |
using | Lambda = std::function< int32_t(std::string const &)> |
Private Attributes | |
StringDictionaryProxy * | sdp_ |
StringDictionaryProxy::IdMap & | id_map_ |
Lambda const | string_to_id_ |
Definition at line 645 of file StringDictionaryProxy.cpp.
|
private |
Definition at line 648 of file StringDictionaryProxy.cpp.
|
inline |
Definition at line 652 of file StringDictionaryProxy.cpp.
|
inlineoverridevirtual |
Implements StringDictionary::StringCallback.
Definition at line 656 of file StringDictionaryProxy.cpp.
References StringDictionaryProxy::getOrAddTransientUnlocked(), id_map_, StringDictionary::INVALID_STR_ID, sdp_, and string_to_id_.
|
inlineoverridevirtual |
Implements StringDictionary::StringCallback.
Definition at line 662 of file StringDictionaryProxy.cpp.
References UNREACHABLE.
|
private |
Definition at line 647 of file StringDictionaryProxy.cpp.
Referenced by operator()().
|
private |
Definition at line 646 of file StringDictionaryProxy.cpp.
Referenced by operator()().
|
private |
Definition at line 649 of file StringDictionaryProxy.cpp.
Referenced by operator()().