EntranceLocations object.
More...
|
|
| EntranceLocations (const EntranceLocations &)=default |
| | Default copy constructor.
|
| | EntranceLocations (EntranceLocations &&loc)=default |
| | Default move constructor noexcept is deduced.
|
| EntranceLocations & | operator= (const EntranceLocations &loc)=default |
| | Default copy assignment.
|
| EntranceLocations & | operator= (EntranceLocations &&loc)=default |
| | Default move assignment noexcept is deduced.
|
| int | getCount () const |
| | Get the entrances count.
|
| EEntranceLocationType | getType (int index) const noexcept |
| | Get the entrance type specified by index.
|
| const CoordinatesRef | getCoordinates (int index) const noexcept |
| | Get the entrance coordinates specified by index.
|
| int | addEntranceLocation (EEntranceLocationType entranceType, Coordinates const &coordinates) noexcept |
| | Add new entrance location.
|
|
void | clear () noexcept |
| | Clear all entrance locations.
|
EntranceLocations object.
Implements share-read / copy-on-write Api object over IEntranceLocations.
◆ EntranceLocations()
| gem::EntranceLocations::EntranceLocations |
( |
EntranceLocations && | loc | ) |
|
|
default |
Default move constructor noexcept is deduced.
- Parameters
-
◆ addEntranceLocation()
Add new entrance location.
- Parameters
-
| entranceType | Type of entrance location. (ex vehicle, pedestrian) |
| coordinates | Coordinates where the entrance is located. |
- Returns
- no error code if the entrance location was added successfully, error code otherwise.
◆ getCoordinates()
| const CoordinatesRef gem::EntranceLocations::getCoordinates |
( |
int | index | ) |
const |
|
inlinenoexcept |
Get the entrance coordinates specified by index.
- Returns
- default in case the index is invalid.
- Parameters
-
| index | Index of entrance location for which the coordinates will be returned. |
- See also
- Coordinates
◆ getCount()
| int gem::EntranceLocations::getCount |
( |
| ) |
const |
|
inline |
Get the entrances count.
- Returns
- Number of entrance locations.
◆ getType()
Get the entrance type specified by index.
- Returns
- UnknownAccessType In case the entrance type is unknown or the index is invalid.
- Parameters
-
| index | Index of entrance location for which the type will be returned. |
- See also
- EEntranceLocationType
◆ operator=() [1/2]
| EntranceLocations & gem::EntranceLocations::operator= |
( |
const EntranceLocations & | loc | ) |
|
|
default |
Default copy assignment.
- Parameters
-
- Returns
- EntranceLocations& Reference to this object
◆ operator=() [2/2]
| EntranceLocations & gem::EntranceLocations::operator= |
( |
EntranceLocations && | loc | ) |
|
|
default |
Default move assignment noexcept is deduced.
- Parameters
-
- Returns
- EntranceLocations& Reference to this object