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