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

#include <vesselsloglikecatchestable.h>

Inheritance diagram for VesselsLoglikeCatchesTable:

Classes

struct  Impl
 

Public Member Functions

 VesselsLoglikeCatchesTable (std::shared_ptr< SQLiteStorage > db, std::string name)
 
 ~VesselsLoglikeCatchesTable () noexcept
 
void dropAndCreate ()
 
void insertPopulation (size_t rowid, int population, const std::vector< double > &catches, const std::vector< double > &discards)
 

Public Attributes

const FieldDef< FieldType::Integer > fldLoglikeId = makeFieldDef("LoglikeId", FieldType::Integer()).notNull()
 
const FieldDef< FieldType::Integer > fldPopId = makeFieldDef("PopId",FieldType::Integer()).notNull()
 
const FieldDef< FieldType::Real > fldCatches = makeFieldDef("Catches",FieldType::Real()).notNull()
 
const FieldDef< FieldType::Real > fldDiscards = makeFieldDef("Discards",FieldType::Real()).notNull()
 

Constructor & Destructor Documentation

◆ VesselsLoglikeCatchesTable()

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

◆ ~VesselsLoglikeCatchesTable()

VesselsLoglikeCatchesTable::~VesselsLoglikeCatchesTable ( )
defaultnoexcept

Member Function Documentation

◆ dropAndCreate()

void VesselsLoglikeCatchesTable::dropAndCreate ( )

◆ insertPopulation()

void VesselsLoglikeCatchesTable::insertPopulation ( size_t  rowid,
int  population,
const std::vector< double > &  catches,
const std::vector< double > &  discards 
)

Member Data Documentation

◆ fldCatches

const FieldDef<FieldType::Real> VesselsLoglikeCatchesTable::fldCatches = makeFieldDef("Catches",FieldType::Real()).notNull()

◆ fldDiscards

const FieldDef<FieldType::Real> VesselsLoglikeCatchesTable::fldDiscards = makeFieldDef("Discards",FieldType::Real()).notNull()

◆ fldLoglikeId

const FieldDef<FieldType::Integer> VesselsLoglikeCatchesTable::fldLoglikeId = makeFieldDef("LoglikeId", FieldType::Integer()).notNull()

◆ fldPopId

const FieldDef<FieldType::Integer> VesselsLoglikeCatchesTable::fldPopId = makeFieldDef("PopId",FieldType::Integer()).notNull()

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