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

#include <shipstable.h>

Inheritance diagram for ShipsTable:

Classes

struct  Impl
 

Public Member Functions

 ShipsTable (std::shared_ptr< sqlite::SQLiteStorage > db, std::string name)
 
 ~ShipsTable () noexcept
 
void dropAndCreate ()
 
void exportShipsIndivators (int tstep, Ship *ship)
 
TimelineData getShipsStatData (displace::plot::ShipsStat stattype, displace::plot::AggregationType aggtype, int shipid, std::vector< int > shiptypeid)
 

Constructor & Destructor Documentation

◆ ShipsTable()

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

◆ ~ShipsTable()

ShipsTable::~ShipsTable ( )
defaultnoexcept

Member Function Documentation

◆ dropAndCreate()

void ShipsTable::dropAndCreate ( )

◆ exportShipsIndivators()

void ShipsTable::exportShipsIndivators ( int  tstep,
Ship ship 
)

◆ getShipsStatData()

TimelineData ShipsTable::getShipsStatData ( displace::plot::ShipsStat  stattype,
displace::plot::AggregationType  aggtype,
int  shipid,
std::vector< int >  shiptypeid 
)

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