bmps::Scenario类 参考

Main class of scenario in BMP database 更多...

#include <Scenario.h>

类 bmps::Scenario 继承关系图:
ccgl::Interface

Public 成员函数

 Scenario (MongoClient *conn, const string &dbName, int subbsnID=0, int scenarioID=0, time_t startTime=-1, time_t endTime=-1)
 Constructor according to BMP database name and scenario ID
 
 ~Scenario ()
 Destructor
 
int ID () const
 Get scenario ID, base scenario iD is 0
 
bool IsBaseScenario ()
 If this is base scenario
 
string Name ()
 Get scenario name
 
map< int, BMPFactory * > & GetBMPFactories ()
 Get BMPs Factories
 
void Dump (string &fileName)
 Write all BMPs information of this scenario to a text file
 
void Dump (std::ostream *fs)
 Output all BMPs information of this scenario to ostream
 
map< string, IntRaster * > & getSceneRasterDataMap ()
 get scenario required raster map. DO NOT DEFINE AS CONST FUNCTION, SINCE m_sceneRsMap WILL BE CHANGED ELSEWHERE!
 
void setRasterForEachBMP ()
 set raster data for BMPs
 

详细描述

Main class of scenario in BMP database

Scenario contains a collection of BMPFactory. Each BMPFactory is corresponding to one type of BMP.

Usage:

Revised:


该类的文档由以下文件生成: