blob: f663750ab227e81b951a84cdb4933b7ae78fc1eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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;
}
|