OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
GeoPackageWriter.hpp
Go to the documentation of this file.
1
11#ifndef OPENSWMM_GEOPACKAGE_WRITER_HPP
12#define OPENSWMM_GEOPACKAGE_WRITER_HPP
13
14#include <string>
15
16struct sqlite3;
17
18namespace openswmm {
19 struct SimulationContext;
20}
21
22namespace openswmm::gpkg {
23
36void write_model(sqlite3* db, const SimulationContext& ctx,
37 const std::string& simulation_id, int srs_id = 0);
38
47int write_to_file(const std::string& path, const SimulationContext& ctx,
48 const std::string& simulation_id);
49
50} // namespace openswmm::gpkg
51
52#endif // OPENSWMM_GEOPACKAGE_WRITER_HPP
Definition GeoPackageInputPlugin.cpp:15
void write_model(sqlite3 *db, const SimulationContext &ctx, const std::string &simulation_id, int srs_id)
Write the full model definition from a SimulationContext into a GeoPackage.
Definition GeoPackageWriter.cpp:1135
int write_to_file(const std::string &path, const SimulationContext &ctx, const std::string &simulation_id)
Convenience: create a new GeoPackage file, write schema + model.
Definition GeoPackageWriter.cpp:1179
Definition NodeCoupling.cpp:15