|
Maps SDK for C++ 1.0.0
|
Projection_W3W object. More...


Public Member Functions | |
| Projection_W3W () | |
| Default constructor. | |
| Projection_W3W (const String &token) | |
| Constructs a Projection_W3W object user token for What3Words API. | |
| Projection_W3W (const Projection_W3W &)=default | |
| Default copy constructor. | |
| Projection_W3W (Projection_W3W &&obj) noexcept | |
| Default move constructor. | |
| Projection_W3W & | operator= (const Projection_W3W &)=default |
| Default copy assignment. | |
| Projection_W3W & | operator= (Projection_W3W &&obj) noexcept |
| Default move assignment. | |
| const StringRef | getWords () const noexcept |
| Retrieves the What3Words location in a string format. | |
| Projection_W3W & | setToken (const String &token) noexcept |
| Retrieves the What3Words location in a string format. | |
| Projection_W3W & | setWords (const String &whatThreeWords) noexcept |
| Sets the What3Words location in a string format. | |
| const StringRef | getToken () const noexcept |
| Retrieves the What3Words user token. | |
| EProjectionType | type () const |
| Retrieves the specific type of the projection. | |
| bool | equals (Projection const &other) const noexcept |
| Compares two Projection objects for equality. | |
| bool | operator== (const Projection &projection) const noexcept |
| Compares two Projection objects for equality. | |
| bool | operator!= (const Projection &projection) const noexcept |
| Inequality comparison operator for projections. | |
| template<typename TSubclass> | |
| TSubclass | cast () const noexcept |
| Attempts to cast the current projection object to a specified subclass. | |
| bool | isDefault () const override |
| Determines if the current projection object is in its default state (unaltered since creation). | |
| operator bool () const noexcept | |
| Boolean conversion operator indicating if the projection is valid and not in its default state. | |
| bool | isEmpty () const noexcept |
| Checks if the projection is empty. | |
| void | reset () noexcept |
| Reset the projection object to its default state. | |
Static Public Member Functions | |
| static constexpr EProjectionType | type () noexcept |
| Get the type of the projection. | |
Projection_W3W object.
Implements share-read / copy-on-write ApiType object over IW3WProjection.
|
inline |
Constructs a Projection_W3W object user token for What3Words API.
A token is mandatory to make use of What3Words API services.
| token | An user obtained token from What3Words services. |
|
default |
Default copy constructor.
Creates a copy of an existing Projection_W3W object.
|
inlinenoexcept |
Default move constructor.
Moves an existing Projection_W3W object into a new instance.
| obj | The object to move into this new instance. |
|
inlinenoexceptinherited |
Attempts to cast the current projection object to a specified subclass.
This is a template method.
| TSubclass | The subclass type to cast to. |
|
inlinenoexceptinherited |
Compares two Projection objects for equality.
| other | Another Projection object to compare against. |
|
inlinenoexcept |
Retrieves the What3Words user token.
|
inlinenoexcept |
Retrieves the What3Words location in a string format.
|
inlineoverrideinherited |
Determines if the current projection object is in its default state (unaltered since creation).
|
inlinenoexceptinherited |
Checks if the projection is empty.
|
inlineexplicitnoexceptinherited |
Boolean conversion operator indicating if the projection is valid and not in its default state.
|
inlinenoexceptinherited |
Inequality comparison operator for projections.
| projection | Another Projection object to compare against. |
|
default |
Default copy assignment.
Replaces the contents of this object with a copy of another Projection_W3W object.
|
inlinenoexcept |
Default move assignment.
Moves another Projection_W3W object into this instance.
| obj | The object to move into this instance. |
|
inlinenoexceptinherited |
Compares two Projection objects for equality.
| projection | Another Projection object to compare against. |
|
inlinenoexcept |
Retrieves the What3Words location in a string format.
| token | An user obtained token from What3Words services. |
|
inlinenoexcept |
Sets the What3Words location in a string format.
| whatThreeWords | point location in a What3Words string format. |
|
inlineinherited |
Retrieves the specific type of the projection.
|
inlinestaticconstexprnoexcept |
Get the type of the projection.