DataType LandmarkId.
More...
#include <ad/map/landmark/LandmarkId.hpp>
DataType LandmarkId.
Identifier of a landmark The unit is: Identifier
◆ LandmarkId() [1/2]
ad::map::landmark::LandmarkId::LandmarkId |
( |
| ) |
|
|
inline |
default constructor
The default value of LandmarkId is: std::numeric_limits<uint64_t>::quiet_NaN()
◆ LandmarkId() [2/2]
◆ ensureValid()
void ad::map::landmark::LandmarkId::ensureValid |
( |
| ) |
const |
|
inline |
◆ ensureValidNonZero()
void ad::map::landmark::LandmarkId::ensureValidNonZero |
( |
| ) |
const |
|
inline |
ensure that the LandmarkId is valid and non zero
Throws an std::out_of_range() exception if the LandmarkId in not valid or zero (i.e. isValid() returns false)
◆ isValid()
bool ad::map::landmark::LandmarkId::isValid |
( |
| ) |
const |
|
inline |
◆ operator uint64_t()
◆ operator!=()
bool ad::map::landmark::LandmarkId::operator!= |
( |
const LandmarkId & |
other | ) |
const |
|
inline |
standard comparison operator
- Parameters
-
- Returns
true
if one of the LandmarkId is not valid or they can be taken as numerically different
◆ operator+()
standard arithmetic operator
- Parameters
-
- Returns
- Result of arithmetic operation.
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator+=()
standard arithmetic operator
- Parameters
-
- Returns
- Result of arithmetic operation.
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator-()
standard arithmetic operator
- Parameters
-
- Returns
- Result of arithmetic operation.
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator-=()
standard arithmetic operator
- Parameters
-
- Returns
- Result of arithmetic operation.
- Note
- throws a std::out_of_range exception if one of the two operands or the result of the operation is not valid
◆ operator<()
bool ad::map::landmark::LandmarkId::operator< |
( |
const LandmarkId & |
other | ) |
const |
|
inline |
standard comparison operator
- Parameters
-
- Returns
true
if both LandmarkId are valid and this LandmarkId is strictly numerically smaller than other.
- Note
- the precision of LandmarkId is considered
◆ operator<=()
bool ad::map::landmark::LandmarkId::operator<= |
( |
const LandmarkId & |
other | ) |
const |
|
inline |
standard comparison operator
- Parameters
-
- Returns
true
if both LandmarkId are valid and this LandmarkId is numerically smaller than other.
- Note
- the precision of LandmarkId is considered
◆ operator=() [1/2]
standard assignment operator
- Parameters
-
- Returns
- Reference to this LandmarkId.
◆ operator=() [2/2]
standard move operator
- Parameters
-
- Returns
- Reference to this LandmarkId.
◆ operator==()
bool ad::map::landmark::LandmarkId::operator== |
( |
const LandmarkId & |
other | ) |
const |
|
inline |
standard comparison operator
- Parameters
-
- Returns
true
if both LandmarkId are valid and can be taken as numerically equal
◆ operator>()
bool ad::map::landmark::LandmarkId::operator> |
( |
const LandmarkId & |
other | ) |
const |
|
inline |
standard comparison operator
- Parameters
-
- Returns
true
if both LandmarkId are valid and this LandmarkId is strictly numerically greater than other.
- Note
- the precision of LandmarkId is considered
◆ operator>=()
bool ad::map::landmark::LandmarkId::operator>= |
( |
const LandmarkId & |
other | ) |
const |
|
inline |
standard comparison operator
- Parameters
-
- Returns
true
if both LandmarkId are valid and this LandmarkId is numerically greater than other.
- Note
- the precision of LandmarkId is considered
The documentation for this class was generated from the following file: