Base class of point BMP, mainly store location related parameters 更多...
#include <BMPPointSourceFactory.h>
Public 成员函数 | |
PointSourceLocations (const bson_t *&bsonTable, bson_iter_t &iter) | |
Constructor, parse point BMP location related parameters from bson object 更多... | |
void | Dump (std::ostream *fs) |
Destructor 更多... | |
int | GetPointSourceID () |
Get point source ID | |
string | GetPointSourceName () |
name | |
FLTPT | GetLat () |
Lat | |
FLTPT | GetLon () |
Lon | |
FLTPT | GetLocalX () |
localX | |
FLTPT | GetLocalY () |
localY | |
int | GetSubbasinID () |
Located subbasin ID | |
FLTPT | GetSize () |
size | |
FLTPT | GetDistanceDown () |
Distance to the downstream reach | |
Base class of point BMP, mainly store location related parameters
bmps::PointSourceLocations::PointSourceLocations | ( | const bson_t *& | bsonTable, |
bson_iter_t & | iter | ||
) |
Constructor, parse point BMP location related parameters from bson object
[in] | bsonTable | Query result from MongoDB |
[in] | iter | Iterator of bsonTab |
void bmps::PointSourceLocations::Dump | ( | std::ostream * | fs | ) |
Destructor
Output