-
-
Notifications
You must be signed in to change notification settings - Fork 477
Expand file tree
/
Copy pathflex-lua-expire-output.hpp
More file actions
50 lines (39 loc) · 1.37 KB
/
flex-lua-expire-output.hpp
File metadata and controls
50 lines (39 loc) · 1.37 KB
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
45
46
47
48
49
50
#ifndef OSM2PGSQL_FLEX_LUA_EXPIRE_OUTPUT_HPP
#define OSM2PGSQL_FLEX_LUA_EXPIRE_OUTPUT_HPP
/**
* SPDX-License-Identifier: GPL-2.0-or-later
*
* This file is part of osm2pgsql (https://osm2pgsql.org/).
*
* Copyright (C) 2006-2026 by the osm2pgsql developer community.
* For a full list of authors see the git log.
*/
#include "flex-lua-wrapper.hpp"
#include <string>
#include <vector>
class expire_output_t;
struct lua_State;
static char const *const OSM2PGSQL_EXPIRE_OUTPUT_CLASS =
"osm2pgsql.ExpireOutput";
int setup_flex_expire_output(lua_State *lua_state,
std::string const &default_schema,
std::vector<expire_output_t> *expire_outputs);
class lua_wrapper_expire_output_t : public lua_wrapper_base_t<expire_output_t>
{
public:
static void init(lua_State *lua_state);
lua_wrapper_expire_output_t(lua_State *lua_state,
expire_output_t *expire_output)
: lua_wrapper_base_t(lua_state, expire_output)
{
}
int tostring() const;
int filename() const noexcept;
int maxzoom() const noexcept;
int minzoom() const noexcept;
int schema() const noexcept;
int table() const noexcept;
int max_tiles_geometry() const noexcept;
int max_tiles_overall() const noexcept;
}; // class lua_wrapper_expire_output_t
#endif // OSM2PGSQL_FLEX_LUA_EXPIRE_OUTPUT_HPP