Class SpaceGeoLocationResult

Inheritance Relationships

Base Type

Class Documentation

class SpaceGeoLocationResult : public csp::systems::ResultBase

Data class used to contain the outcome of space geo location operations.

The result can be successful and still return no geo location if one does not exist.

Public Functions

const bool HasSpaceGeoLocation() const

Utility to check if a geo location actually exists for the space.

Returns

bool : true if GetSpaceGeoLocation will return a valid geo location for the space, false otherwise

const SpaceGeoLocation &GetSpaceGeoLocation() const

Returns the geo location of the space if one exists.

Returns

SpaceGeoLocation : Geo location of the space

inline SpaceGeoLocationResult(csp::systems::EResultCode ResCode, uint16_t HttpResCode)