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

#include <poptable.h>

Inheritance diagram for PopTable:

Classes

struct  Impl
 
struct  Stat
 

Public Member Functions

 PopTable (std::shared_ptr< sqlite::SQLiteStorage > db, std::string name)
 
 ~PopTable () noexcept
 
void dropAndCreate ()
 
bool insert (int tstep, Node *node, const std::multimap< int, double > &initstate)
 
void queryAllNodesAtStep (int tstep, std::function< bool(Stat)> op)
 
size_t getNbPops ()
 

Constructor & Destructor Documentation

◆ PopTable()

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

◆ ~PopTable()

PopTable::~PopTable ( )
defaultnoexcept

Member Function Documentation

◆ dropAndCreate()

void PopTable::dropAndCreate ( )

◆ getNbPops()

size_t PopTable::getNbPops ( )

◆ insert()

bool PopTable::insert ( int  tstep,
Node node,
const std::multimap< int, double > &  initstate 
)

◆ queryAllNodesAtStep()

void PopTable::queryAllNodesAtStep ( int  tstep,
std::function< bool(Stat)>  op 
)

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