diff options
author | vvvv <vvvv@ydb.tech> | 2023-07-31 18:21:04 +0300 |
---|---|---|
committer | vvvv <vvvv@ydb.tech> | 2023-07-31 18:21:04 +0300 |
commit | dec41c40e51aa407edef81a3c566a5a15780fc49 (patch) | |
tree | 4f197b596b32f35eca368121f0dff913419da9af /library/cpp/geobase/lookup.hpp | |
parent | 3ca8b54c96e09eb2b65be7f09675623438d559c7 (diff) | |
download | ydb-dec41c40e51aa407edef81a3c566a5a15780fc49.tar.gz |
YQL-16239 Move purecalc to public
Diffstat (limited to 'library/cpp/geobase/lookup.hpp')
-rw-r--r-- | library/cpp/geobase/lookup.hpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/library/cpp/geobase/lookup.hpp b/library/cpp/geobase/lookup.hpp new file mode 100644 index 0000000000..f663750ab2 --- /dev/null +++ b/library/cpp/geobase/lookup.hpp @@ -0,0 +1,44 @@ +#pragma once + +#include <geobase/include/lookup.hpp> +#include <geobase/include/lookup_wrapper.hpp> +#include <geobase/include/structs.hpp> + +namespace NGeobase { + using TInitTraits = NImpl::TLookup::TInitTraits; + + class TLookup: public NImpl::TLookup { + public: + using parent = NImpl::TLookup; + + explicit TLookup(const std::string& datafile, const TInitTraits traits = {}) + : parent(datafile, traits) + { + } + explicit TLookup(const TInitTraits traits) + : parent(traits) + { + } + explicit TLookup(const void* pData, size_t len) + : parent(pData, len) + { + } + + ~TLookup() { + } + }; + + using TRegion = NImpl::TRegion; + using TGeolocation = NImpl::TGeolocation; + using TLinguistics = NImpl::TLinguistics; + using TGeoPoint = NImpl::TGeoPoint; + + using TLookupWrapper = NImpl::TLookupWrapper; + + using TId = NImpl::Id; + using TIdsList = NImpl::IdsList; + using TRegionsList = NImpl::TRegionsList; + + using TIpBasicTraits = NImpl::TIpBasicTraits; + using TIpTraits = NImpl::TIpTraits; +} |