|
Maps SDK for C++ 1.0.0
|
Defines a departure of an optimization or route. More...


Public Member Functions | |
| Departure ()=default | |
| Default constructor. | |
| Departure (const MiscLocation &depot) | |
| Constructs a Departure object initialized with depot information. | |
| Departure (const Departure &)=default | |
| Default copy constructor. | |
| Departure (Departure &&) noexcept=default | |
| Default move constructor. | |
| Departure & | operator= (const Departure &)=default |
| Default copy assignment operator. | |
| Departure & | operator= (Departure &&) noexcept=default |
| Default move assignment operator. | |
| bool | operator== (Departure const &departure) const |
| Compares two Departure objects for equality. | |
| bool | operator!= (Departure const &departure) const |
| Compares two Departure objects for equality. | |
| const LargeInteger | getDepotId () const noexcept |
| Retrieves the depot ID associated with this departure. | |
| Departure & | setDepotId (LargeInteger depotId) noexcept |
| Sets the depot ID for this departure. | |
| const StringRef | getAlias () const noexcept |
| Retrieves the alias of this departure. | |
| Departure & | setAlias (const String &alias) noexcept |
| Sets the alias for this departure. | |
| const CoordinatesRef | getCoordinates () const noexcept |
| Retrieves the coordinates of the departure point. | |
| CoordinatesRef | getCoordinates () |
| Provides direct access to modify the coordinates of the departure point. | |
| Departure & | setCoordinates (const Coordinates &coords) noexcept |
| Sets the coordinates of the departure point. | |
| const CoordinatesRef | getMatchedCoordinates () const noexcept |
| Retrieves the matched coordinates of the departure point. | |
| const AddressInfoRef | getAddress () const noexcept |
| Retrieves the address associated with the departure point. | |
| Departure & | setAddress (const AddressInfo &address) noexcept |
| Sets the address for the departure point. | |
| unsigned int | getNumberOfPackages () const noexcept |
| Retrieves the number of packages that must be delivered from this departure point. | |
| float | getWeight () const noexcept |
| Retrieves the total weight of goods that must be delivered from this departure point. | |
| float | getCube () const noexcept |
| Retrieves the cubic volume of goods that must be delivered from this departure point. | |
| const TimeRef | getDepartureTime () const noexcept |
| Retrieves the scheduled departure time from this point. | |
| unsigned int | getTimeToNext () const noexcept |
| Retrieves the estimated time to the next order from this departure point. | |
| float | getDistanceToNext () const noexcept |
| Retrieves the distance to the next order from this departure point. | |
Defines a departure of an optimization or route.
Implements share-read / copy-on-write Api object over IDeparture.
|
default |
Default constructor.
Initializes a new instance of the Departure class without setting any properties.
|
inline |
Constructs a Departure object initialized with depot information.
| depot | A MiscLocation object containing the initial values for the departure's ID, alias, coordinates, and address. |
|
default |
Default copy constructor.
Creates a copy of an existing Departure object.
|
defaultnoexcept |
Default move constructor.
Moves an existing Departure object into a new instance.
|
inlinenoexcept |
Retrieves the address associated with the departure point.
This address provides a human-readable location for the departure point, complementing the coordinates.
|
inlinenoexcept |
Retrieves the alias of this departure.
|
inline |
Provides direct access to modify the coordinates of the departure point.
This allows for setting or updating the geographical location from which the vehicle departs.
|
inlinenoexcept |
Retrieves the coordinates of the departure point.
These coordinates represent the geographical location from which the vehicle departs.
|
inlinenoexcept |
Retrieves the cubic volume of goods that must be delivered from this departure point.
|
inlinenoexcept |
Retrieves the scheduled departure time from this point.
This time indicates when the vehicle is expected to depart from the departure point.
|
inlinenoexcept |
Retrieves the depot ID associated with this departure.
|
inlinenoexcept |
Retrieves the distance to the next order from this departure point.
This distance is used in routing and optimization calculations.
|
inlinenoexcept |
Retrieves the matched coordinates of the departure point.
These coordinates represent the geographical matched location from which the vehicle departs.
|
inlinenoexcept |
Retrieves the number of packages that must be delivered from this departure point.
|
inlinenoexcept |
Retrieves the estimated time to the next order from this departure point.
This duration is used in planning to estimate arrival times at subsequent destinations.
|
inlinenoexcept |
Retrieves the total weight of goods that must be delivered from this departure point.
|
inline |
Default copy assignment operator.
Replaces the contents of this object with a copy of another Departure object.
Default move assignment operator.
Moves the contents of another Departure object into this one.
|
inline |
|
inlinenoexcept |
Sets the address for the departure point.
| address | The new address for the departure point. |
|
inlinenoexcept |
Sets the coordinates of the departure point.
| coords | The new geographical coordinates for the departure point. |
|
inlinenoexcept |
Sets the depot ID for this departure.
| depotId | The new depot ID as a LargeInteger. |