class SerialNumber
Defined at line 46 of file ../../third_party/openthread/src/core/common/serial_number.hpp
Public Methods
template <typename UintType>
bool IsLess (UintType aFirst, UintType aSecond)
Indicates whether or not a first serial number is strictly less than a second serial number.
The comparison takes into account the wrapping of serial number values (similar to RFC-1982). It is semantically
equivalent to `aFirst
<
aSecond`.
Parameters
Template Parameters
Defined at line 63 of file ../../third_party/openthread/src/core/common/serial_number.hpp
template <typename UintType>
bool IsGreater (UintType aFirst, UintType aSecond)
Indicates whether or not a first serial number is strictly greater than a second serial
number.
The comparison takes into account the wrapping of serial number values (similar to RFC-1982). It is semantically
equivalent to `aFirst > aSecond`.
Parameters
Template Parameters
Defined at line 88 of file ../../third_party/openthread/src/core/common/serial_number.hpp