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

#include <outputexporter.h>

Public Member Functions

 OutputExporter (const std::string &basepath, const std::string &namesimu)
 
void exportVmsLike (unsigned int tstep, Vessel *vessel)
 
void exportVmsLikeFPingsOnly (unsigned int tstep, Vessel *vessel, const std::vector< Population * > &populations, std::vector< int > &implicit_pops)
 
void exportLogLike (unsigned int tstep, Vessel *vessel, const std::vector< Population * > &populations, std::vector< int > &implicit_pops)
 
void exportTripCatchPopPerSzgroup (unsigned int tstep, Vessel *vessel, const std::vector< Population * > &populations, std::vector< int > &implicit_pops)
 
void close ()
 
void setUseSqlite (bool sql)
 
void setUsePlainText (bool pt)
 
void setSQLiteDb (std::shared_ptr< SQLiteOutputStorage > db)
 

Static Public Member Functions

static bool instantiate (const std::string &basepath, const std::string &namesimu)
 
static OutputExporterinstance ()
 

Constructor & Destructor Documentation

◆ OutputExporter()

OutputExporter::OutputExporter ( const std::string &  basepath,
const std::string &  namesimu 
)

Member Function Documentation

◆ close()

void OutputExporter::close ( )

◆ exportLogLike()

void OutputExporter::exportLogLike ( unsigned int  tstep,
Vessel vessel,
const std::vector< Population * > &  populations,
std::vector< int > &  implicit_pops 
)

◆ exportTripCatchPopPerSzgroup()

void OutputExporter::exportTripCatchPopPerSzgroup ( unsigned int  tstep,
Vessel vessel,
const std::vector< Population * > &  populations,
std::vector< int > &  implicit_pops 
)

◆ exportVmsLike()

void OutputExporter::exportVmsLike ( unsigned int  tstep,
Vessel vessel 
)

◆ exportVmsLikeFPingsOnly()

void OutputExporter::exportVmsLikeFPingsOnly ( unsigned int  tstep,
Vessel vessel,
const std::vector< Population * > &  populations,
std::vector< int > &  implicit_pops 
)

◆ instance()

static OutputExporter& OutputExporter::instance ( )
inlinestatic

◆ instantiate()

bool OutputExporter::instantiate ( const std::string &  basepath,
const std::string &  namesimu 
)
static

◆ setSQLiteDb()

void OutputExporter::setSQLiteDb ( std::shared_ptr< SQLiteOutputStorage db)
inline

◆ setUsePlainText()

void OutputExporter::setUsePlainText ( bool  pt)
inline

◆ setUseSqlite()

void OutputExporter::setUseSqlite ( bool  sql)
inline

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