In-memory hot start file data.
More...
#include <HotStartManager.hpp>
|
| bool | set_node_depth (const std::string &id, double v) |
| | Set depth for a stored node. Returns false if id not found.
|
| |
| bool | set_node_head (const std::string &id, double v) |
| | Set head for a stored node. Returns false if id not found.
|
| |
| bool | set_link_flow (const std::string &id, double v) |
| | Set flow for a stored link. Returns false if id not found.
|
| |
| bool | set_link_depth (const std::string &id, double v) |
| | Set depth for a stored link. Returns false if id not found.
|
| |
| bool | set_subcatch_runoff (const std::string &id, double v) |
| | Set runoff for a stored subcatchment. Returns false if id not found.
|
| |
In-memory hot start file data.
Created by HotStartManager::save() or HotStartManager::open(). The C API casts HotStartFile* to/from void* SWMM_HotStart.
◆ set_link_depth()
| bool openswmm::HotStartFile::set_link_depth |
( |
const std::string & |
id, |
|
|
double |
v |
|
) |
| |
Set depth for a stored link. Returns false if id not found.
◆ set_link_flow()
| bool openswmm::HotStartFile::set_link_flow |
( |
const std::string & |
id, |
|
|
double |
v |
|
) |
| |
Set flow for a stored link. Returns false if id not found.
◆ set_node_depth()
| bool openswmm::HotStartFile::set_node_depth |
( |
const std::string & |
id, |
|
|
double |
v |
|
) |
| |
Set depth for a stored node. Returns false if id not found.
◆ set_node_head()
| bool openswmm::HotStartFile::set_node_head |
( |
const std::string & |
id, |
|
|
double |
v |
|
) |
| |
Set head for a stored node. Returns false if id not found.
◆ set_subcatch_runoff()
| bool openswmm::HotStartFile::set_subcatch_runoff |
( |
const std::string & |
id, |
|
|
double |
v |
|
) |
| |
Set runoff for a stored subcatchment. Returns false if id not found.
◆ dirty
| bool openswmm::HotStartFile::dirty = false |
True if set_*() was called.
◆ header
◆ links
◆ nodes
◆ path
| std::string openswmm::HotStartFile::path |
File path (for flush-on-close)
◆ subcatches
◆ warnings
| std::vector<std::string> openswmm::HotStartFile::warnings |
The documentation for this struct was generated from the following files: