BdsApi 3.1.4
This is the Blacknest BDS API.
|
This class defines the physical location of a Station. More...
#include <BdsD.h>
Public Member Functions | |
Location (BUInt32 id=0, BTimeStamp startTime=BTimeStamp(), BTimeStamp endTime=BTimeStamp(), BString network=BString(), BString station=BString(), BString channel=BString(), BString datum=BString(), BFloat64 longitude=0, BFloat64 latitude=0, BFloat64 elevation=0, BFloat64 arrayOffsetEast=0, BFloat64 arrayOffsetNorth=0) | |
BString | getType () |
BError | setMembers (BDictString &members) |
BError | setMember (BString name, BString value) |
BError | getMembers (BDictString &members) |
BError | getMember (BString name, BString &value) |
![]() | |
BObj () | |
virtual | ~BObj () |
virtual const char * | getType () const |
virtual const BObjMember * | getMembers () const |
virtual BError | getMembers (BDictString &members) |
virtual BError | getMember (BString name, BString &value) |
virtual BError | setMembers (BDictString &members) |
virtual BError | setMember (BString name, BString value) |
virtual void | membersPrint () const |
virtual BString | getDebugString () |
Public Attributes | |
BUInt32 | id |
The ID. More... | |
BTimeStamp | startTime |
The Start Time. More... | |
BTimeStamp | endTime |
The End Time the channel was available. More... | |
BString | network |
The Network/Organisation Name. More... | |
BString | station |
The station this location is for. More... | |
BString | channel |
The channel this location is for. If blank the location is for the Station itself. More... | |
BString | datum |
The locations Datum. More... | |
BFloat64 | longitude |
The longitude in degrees using the WGS84 datum. More... | |
BFloat64 | latitude |
The Latitude in degrees using the WGS84 datum. More... | |
BFloat64 | elevation |
The ground level elevation in meters from the WGS84 ellipsoid (Sea level) More... | |
BFloat64 | arrayOffsetEast |
The Array offset in an array in an easterly direction if array known/given. Note returns Array's ArrayChannel offset information. More... | |
BFloat64 | arrayOffsetNorth |
The Array offset in an array in a northerly direction if array known/given. Note returns Array's ArrayChannel offset information. More... | |
This class defines the physical location of a Station.
This defines the physical location of the station using WGS84 longitude and latitude parameters. It also defines the stations elevation. If it is part of an array the arrayOffsetEast and arrayOffsetNorth will be filled in from the Array's ArrayChannel offset information. So although arrayOffsetEast and arrayOffsetNorth are part of a Location object they are not stored in the database StationLocations table.
Bds::Location::Location | ( | BUInt32 | id = 0 , |
BTimeStamp | startTime = BTimeStamp() , |
||
BTimeStamp | endTime = BTimeStamp() , |
||
BString | network = BString() , |
||
BString | station = BString() , |
||
BString | channel = BString() , |
||
BString | datum = BString() , |
||
BFloat64 | longitude = 0 , |
||
BFloat64 | latitude = 0 , |
||
BFloat64 | elevation = 0 , |
||
BFloat64 | arrayOffsetEast = 0 , |
||
BFloat64 | arrayOffsetNorth = 0 |
||
) |
BString Bds::Location::getType | ( | ) |
|
virtual |
Reimplemented from BObj.
|
virtual |
Reimplemented from BObj.
BUInt32 Bds::Location::id |
The ID.
BTimeStamp Bds::Location::startTime |
The Start Time.
BTimeStamp Bds::Location::endTime |
The End Time the channel was available.
BString Bds::Location::network |
The Network/Organisation Name.
BString Bds::Location::station |
The station this location is for.
BString Bds::Location::channel |
The channel this location is for. If blank the location is for the Station itself.
BString Bds::Location::datum |
The locations Datum.
BFloat64 Bds::Location::longitude |
The longitude in degrees using the WGS84 datum.
BFloat64 Bds::Location::latitude |
The Latitude in degrees using the WGS84 datum.
BFloat64 Bds::Location::elevation |
The ground level elevation in meters from the WGS84 ellipsoid (Sea level)
BFloat64 Bds::Location::arrayOffsetEast |
The Array offset in an array in an easterly direction if array known/given. Note returns Array's ArrayChannel offset information.
BFloat64 Bds::Location::arrayOffsetNorth |
The Array offset in an array in a northerly direction if array known/given. Note returns Array's ArrayChannel offset information.