DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
NodesStatTable Class Reference

#include <nodesstattable.h>

Inheritance diagram for NodesStatTable:

Classes

struct  Impl
 
struct  NodeStat
 

Public Member Functions

 NodesStatTable (std::shared_ptr< sqlite::SQLiteStorage > db, std::string name)
 
 ~NodesStatTable () noexcept
 
void dropAndCreate ()
 
bool insert (int tstep, Node *node)
 
void queryAllNodesAtStep (int tstep, std::function< bool(NodeStat stat)>)
 

Constructor & Destructor Documentation

◆ NodesStatTable()

NodesStatTable::NodesStatTable ( std::shared_ptr< sqlite::SQLiteStorage >  db,
std::string  name 
)

◆ ~NodesStatTable()

NodesStatTable::~NodesStatTable ( )
defaultnoexcept

Member Function Documentation

◆ dropAndCreate()

void NodesStatTable::dropAndCreate ( )

◆ insert()

bool NodesStatTable::insert ( int  tstep,
Node node 
)

◆ queryAllNodesAtStep()

void NodesStatTable::queryAllNodesAtStep ( int  tstep,
std::function< bool(NodeStat stat)>   
)

The documentation for this class was generated from the following files: