7#ifndef SEIMS_BMP_PLANTMGT_H
8#define SEIMS_BMP_PLANTMGT_H
16using namespace plant_management;
31 const string& collection,
const string& location);
67 string m_mgtFieldsName;
81 vector<
int> m_bmpSequence;
Base namespace for implementation of BMP configuration
Plant management operation class
#define OVERRIDE
A compatible reference to override or blank if not supported by the compiler.
Definition: basic.h:160
Base class of all kind of BMPs Factory.
Definition: BMPFactory.h:33
int bmpType()
Get BMP type 1 - reach BMPs which are attached to specific reaches and will change the character of t...
int bmpPriority()
Get BMP priority
Initiate a plant management BMP Actually, it contains a series BMPs, such as plant,...
Definition: BMPPlantMgtFactory.h:26
map< int, PltMgtOp * > & GetOperations()
Get operations
int GetLUCCID()
Get landuse / landcover ID
set< int > & GetLocations()
Get locations
void Dump(ostream *fs) OVERRIDE
Output
PltMgtOp * GetOperation(const int ID)
Get operation by ID
vector< int > & GetOperationSequence()
Get operation sequence
~BMPPlantMgtFactory()
Destructor
int * GetRasterData() OVERRIDE
Get management fields data
BMPPlantMgtFactory(int scenarioId, int bmpId, int subScenario, int bmpType, int bmpPriority, vector< string > &distribution, const string &collection, const string &location)
Constructor
void loadBMP(MongoClient *conn, const string &bmpDBName) OVERRIDE
Load BMP parameters from MongoDB
void setRasterData(map< string, IntRaster * > &sceneRsMap) OVERRIDE
Set management fields data
Base class of plant management operation
Definition: PlantManagementOperation.h:27
A simple wrapper of the class of MongoDB Client mongoc_client_t.
Definition: db_mongoc.h:46
All BMPs scenario related data, classes, and functions.
Definition: BMPArealSourceFactory.h:22