bmps::PointSourceLocations Class Reference

Base class of point BMP, mainly store location related parameters. More...

#include <BMPPointSourceFactory.h>

Inheritance diagram for bmps::PointSourceLocations:
ccgl::Interface

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.
 

Detailed Description

Base class of point BMP, mainly store location related parameters.

Constructor & Destructor Documentation

◆ PointSourceLocations()

bmps::PointSourceLocations::PointSourceLocations ( const bson_t *&  bsonTable,
bson_iter_t &  iter 
)

Constructor, parse point BMP location related parameters from bson object.

Parameters
[in]bsonTableQuery result from MongoDB
[in]iterIterator of bsonTab

Member Function Documentation

◆ Dump()

void bmps::PointSourceLocations::Dump ( std::ostream *  fs)

Destructor.

Output


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