|
Maps SDK for C++ 1.0.0
|
Defines a territory. More...


Public Member Functions | |
| Territory ()=default | |
| Default constructor. | |
| Territory (const Territory &)=default | |
| Default copy constructor. | |
| Territory (Territory &&) noexcept=default | |
| Default move constructor. | |
| Territory & | operator= (const Territory &)=default |
| Default copy assignment operator. | |
| Territory & | operator= (Territory &&) noexcept=default |
| Default move assignment operator. | |
| bool | operator== (Territory const &territory) const |
| Compares two Territory objects for equality. | |
| bool | operator!= (Territory const &territory) const |
| Compares two Territory objects for inequality. | |
| LargeInteger | getId () const noexcept |
| Retrieves the unique identifier of the territory. | |
| const StringRef | getName () const noexcept |
| Retrieves the name of the territory. | |
| Territory & | setName (const String &name) noexcept |
| Sets the name of the territory. | |
| ETerritoryType | getType () const noexcept |
| Retrieves the type of the territory. | |
| Territory & | setType (ETerritoryType territoryType) noexcept |
| Set the type of the territory. | |
| const CoordinatesListRef | getData () noexcept |
| Get the data of the territory. | |
| Territory & | setData (const ICoordinatesList &data) noexcept |
| Set the data of the territory. | |
| const Rgba & | getColor () const noexcept |
| Get the color of the territory. | |
| Territory & | setColor (const Rgba &color) noexcept |
| Set the color of the territory. | |
| const OrderListRef | getOrders () noexcept |
| Get the orders located inside the territory. | |
Defines a territory.
Implements share-read / copy-on-write Api object over ITerritory.
|
default |
Default constructor.
Initializes a new instance of the Territory class without setting any properties.
|
default |
Default copy constructor.
Creates a copy of an existing Territory object
|
defaultnoexcept |
Default move constructor.
Moves an existing Territory object into a new instance.
|
inlinenoexcept |
Get the color of the territory.
|
inlinenoexcept |
Get the data of the territory.
|
inlinenoexcept |
Retrieves the unique identifier of the territory.
|
inlinenoexcept |
Retrieves the name of the territory.
|
inlinenoexcept |
Get the orders located inside the territory.
|
inlinenoexcept |
Retrieves the type of the territory.
|
inline |
Default copy assignment operator.
Replaces the contents of this object with a copy of another Territory object.
Default move assignment operator.
Moves the contents of another Territory object into this one.
|
inline |
|
inlinenoexcept |
Set the data of the territory.
| data | If territory type is :
|
Sets the name of the territory.
| name | The new name for the territory. |
|
inlinenoexcept |
Set the type of the territory.
| territoryType | The type as an ETerritoryType enumeration value. |