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

#include <options.h>

Inheritance diagram for ClosureOptions:
Option< Options::Closure_Opt, Options::Closure_Opt_last, std::vector< int > >

Public Member Functions

void update ()
 
bool isMetierBanned (int metier) const
 
- Public Member Functions inherited from Option< Options::Closure_Opt, Options::Closure_Opt_last, std::vector< int > >
 Option ()
 
void setOption (Options::Closure_Opt option, std::vector< int > value)
 
void setOption (std::string option, std::vector< int > value)
 
constexpr int n () const
 
const std::vector< int > & option (Options::Closure_Opt option) const
 
std::enable_if< std::is_same< _CTYPE, bool >::value, std::string >::type toString () const
 

Additional Inherited Members

- Protected Types inherited from Option< Options::Closure_Opt, Options::Closure_Opt_last, std::vector< int > >
typedef std::map< std::string, Options::Closure_OptMap
 
typedef Map::iterator Iterator
 
typedef Map::const_iterator ConstIterator
 
- Protected Attributes inherited from Option< Options::Closure_Opt, Options::Closure_Opt_last, std::vector< int > >
std::vector< int > mOptions [N]
 
Map mMap
 

Member Function Documentation

◆ isMetierBanned()

bool ClosureOptions::isMetierBanned ( int  metier) const
inline

◆ update()

void ClosureOptions::update ( )

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