|
WSF
|
#include <WsfPProxyBasicValues.hpp>


Public Types | |
| enum | Format { cLAT_LON = 0 , cMGRS = 1 } |
| Public Types inherited from WsfProxy::BasicValue | |
| enum | ValueFlags { cVALUE_INHERITED = WsfProxy::cVALUE_INHERITED , cVALUE_UNSET = WsfProxy::cVALUE_UNSET , cVALUE_BITS = cVALUE_UNSET , cCOPY_BITS = cVALUE_INHERITED | cVALUE_UNSET } |
Public Member Functions | |
| Position () | |
| Position (const UtLatPos &, const UtLonPos &) | |
| std::string | ToString () const |
| void | Read (WsfParseNode *aNodePtr) |
| std::string | Write (WsfParseRule *aRulePtr) |
| void | CopyValue (const Position &aRhs) |
| bool | Equal (const Position &aRhs) const |
| bool | Less (const Position &aRhs) const |
| bool | SetFromString (const std::string &aString) |
| void | SetMGRS (const std::string &aMGRS) |
| UtLatPos | GetLatitude () const |
| UtLonPos | GetLongitude () const |
| void | SetLatitude (UtLatPos aLat) |
| void | SetLongitude (UtLonPos aLon) |
| bool | operator== (const Position &aRhs) const |
| Public Member Functions inherited from WsfProxy::BasicValue | |
| BasicValue () | |
| bool | IsUnset () const |
| bool | IsSet () const noexcept |
| void | SetUnset () |
| void | ClearUnset () |
| bool | IsInherited () const |
| void | SetInherited (bool aIsInherited) |
Static Public Attributes | |
| static const WsfProxy::ValueKind | cPROXY_TYPE_ID = WsfProxy::cPOSITION_VALUE |
Additional Inherited Members | |
| Protected Member Functions inherited from WsfProxy::BasicValue | |
| void | ValueAsssigned () |
| Protected Attributes inherited from WsfProxy::BasicValue | |
| unsigned char | mBasicValueFlags |
| WsfProxy::Position::Position | ( | ) |
References cLAT_LON, mLatitude, and mLongitude.
Referenced by CopyValue(), Equal(), Less(), and operator==().
| WsfProxy::Position::Position | ( | const UtLatPos & | aLat, |
| const UtLonPos & | aLon ) |
References cLAT_LON, SetLatitude(), and SetLongitude().
| void WsfProxy::Position::CopyValue | ( | const Position & | aRhs | ) |
| bool WsfProxy::Position::Equal | ( | const Position & | aRhs | ) | const |
| UtLatPos WsfProxy::Position::GetLatitude | ( | ) | const |
References cLAT_LON, mLatitude, and mMGRS.
Referenced by WsfPM_Platform::InitialHeading(), WsfPM_Platform::InitialLocationLLA(), WsfPM_Platform::LocationLLA(), and WsfPM_Platform::SetInitialLocationLLA().
| UtLonPos WsfProxy::Position::GetLongitude | ( | ) | const |
References cLAT_LON, mLongitude, and mMGRS.
Referenced by WsfPM_Platform::InitialHeading(), WsfPM_Platform::InitialLocationLLA(), WsfPM_Platform::LocationLLA(), and WsfPM_Platform::SetInitialLocationLLA().
| bool WsfProxy::Position::Less | ( | const Position & | aRhs | ) | const |
|
inline |
References cLAT_LON, mLatitude, mLongitude, mMGRS, and Position().
| void WsfProxy::Position::Read | ( | WsfParseNode * | aNodePtr | ) |
| bool WsfProxy::Position::SetFromString | ( | const std::string & | aString | ) |
References cLAT_LON, WsfProxy::BasicValue::ClearUnset(), mLatitude, mLongitude, and SetMGRS().
|
inline |
References WsfProxy::BasicValue::ClearUnset(), and mLatitude.
Referenced by Position(), and WsfPM_Platform::SetInitialLocationLLA().
|
inline |
References WsfProxy::BasicValue::ClearUnset(), and mLongitude.
Referenced by Position(), and WsfPM_Platform::SetInitialLocationLLA().
| void WsfProxy::Position::SetMGRS | ( | const std::string & | aMGRS | ) |
Referenced by Read(), and SetFromString().
| std::string WsfProxy::Position::ToString | ( | ) | const |
References cLAT_LON, cMGRS, WsfProxy::BasicValue::IsUnset(), and mMGRS.
Referenced by Write().
| std::string WsfProxy::Position::Write | ( | WsfParseRule * | aRulePtr | ) |
References WsfParseRule::cVALUE, WsfParseRule::mUserId, ToString(), and WsfParseRule::Type().
|
static |
| double WsfProxy::Position::mLatitude |
Referenced by CopyValue(), Equal(), GetLatitude(), Less(), operator==(), Position(), Read(), SetFromString(), and SetLatitude().
| double WsfProxy::Position::mLongitude |
Referenced by CopyValue(), Equal(), GetLongitude(), Less(), operator==(), Position(), Read(), SetFromString(), and SetLongitude().
| char WsfProxy::Position::mMGRS[16] |
Referenced by GetLatitude(), GetLongitude(), operator==(), SetMGRS(), and ToString().