#include <GeoPackageInputPlugin.hpp>
◆ GeoPackageInputPlugin()
| openswmm::gpkg::GeoPackageInputPlugin::GeoPackageInputPlugin |
( |
| ) |
|
|
default |
◆ finalize()
◆ initialize()
| int openswmm::gpkg::GeoPackageInputPlugin::initialize |
( |
const std::vector< std::string > & |
init_args, |
|
|
const IPluginComponentInfo * |
info |
|
) |
| |
|
overridevirtual |
◆ last_error_message()
| const char * openswmm::gpkg::GeoPackageInputPlugin::last_error_message |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ read()
| int openswmm::gpkg::GeoPackageInputPlugin::read |
( |
const std::string & |
path, |
|
|
SimulationContext & |
ctx |
|
) |
| |
|
overridevirtual |
Read a SWMM model from a GeoPackage file.
Reads the model for the configured simulation_id. If no simulation_id was specified, reads the first (or only) model.
- Parameters
-
- Returns
- 0 on success.
Implements openswmm::IInputPlugin.
◆ skipped_sections()
| std::vector< std::string > openswmm::gpkg::GeoPackageInputPlugin::skipped_sections |
( |
| ) |
const |
|
inlineoverridevirtual |
Sections or elements that were skipped during the last read().
Returns identifiers for any input sections or elements that had no handler and were ignored. For .inp files these are section tags like "MY_UNKNOWN_SECTION". Other formats may return their own identifiers (e.g., JSON keys).
- Returns
- Vector of skipped section/element identifiers (empty by default).
Reimplemented from openswmm::IInputPlugin.
◆ state()
| PluginState openswmm::gpkg::GeoPackageInputPlugin::state |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ validate()
◆ write()
| int openswmm::gpkg::GeoPackageInputPlugin::write |
( |
const std::string & |
path, |
|
|
const SimulationContext & |
ctx |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files: