DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
#include <nodesenvttable.h>
Classes | |
struct | Impl |
Public Types | |
using | NodeEnvt = types::EnvironmentData |
Public Member Functions | |
NodesEnvtTable (std::shared_ptr< sqlite::SQLiteStorage > db, std::string name) | |
~NodesEnvtTable () noexcept | |
void | dropAndCreate () |
bool | insert (int tstep, Node *node) |
void | queryAllNodesAtStep (types::tstep_t tstep, std::function< bool(NodeEnvt stat)>) |
void | queryNodeAtStep (types::NodeId nodeId, types::tstep_t tstep, std::function< bool(NodeEnvt stat)>) |
NodesEnvtTable::NodesEnvtTable | ( | std::shared_ptr< sqlite::SQLiteStorage > | db, |
std::string | name | ||
) |
|
defaultnoexcept |
void NodesEnvtTable::dropAndCreate | ( | ) |
bool NodesEnvtTable::insert | ( | int | tstep, |
Node * | node | ||
) |
void NodesEnvtTable::queryAllNodesAtStep | ( | types::tstep_t | tstep, |
std::function< bool(NodeEnvt stat)> | |||
) |
void NodesEnvtTable::queryNodeAtStep | ( | types::NodeId | nodeId, |
types::tstep_t | tstep, | ||
std::function< bool(NodeEnvt stat)> | |||
) |