DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
#include <fishfarmsdeftable.h>
Classes | |
struct | Impl |
Public Types | |
using | FishfarmSelectFunc = std::function< bool(int nodeid, std::shared_ptr< Fishfarm >)> |
Public Member Functions | |
FishFarmsDefTable (std::shared_ptr< sqlite::SQLiteStorage > db, std::string name) | |
~FishFarmsDefTable () noexcept | |
void | dropAndCreate () |
void | insertDef (const Fishfarm &fishfarm) |
void | getAllFishfarms (FishfarmSelectFunc func) |
using FishFarmsDefTable::FishfarmSelectFunc = std::function<bool(int nodeid, std::shared_ptr<Fishfarm>)> |
FishFarmsDefTable::FishFarmsDefTable | ( | std::shared_ptr< sqlite::SQLiteStorage > | db, |
std::string | name | ||
) |
|
defaultnoexcept |
void FishFarmsDefTable::dropAndCreate | ( | ) |
void FishFarmsDefTable::getAllFishfarms | ( | FishFarmsDefTable::FishfarmSelectFunc | func | ) |
void FishFarmsDefTable::insertDef | ( | const Fishfarm & | fishfarm | ) |