Base class of point BMP, mainly store location related parameters. More...
#include <BMPPointSourceFactory.h>
Public Member Functions | |
| PointSourceLocations (const bson_t *&bsonTable, bson_iter_t &iter) | |
| Constructor, parse point BMP location related parameters from bson object. More... | |
| void | Dump (std::ostream *fs) |
| Destructor. More... | |
| 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