#include <EncodeVersion.hpp>
Definition at line 29 of file EncodeVersion.hpp.
◆ Version() [1/2]
Definition at line 32 of file EncodeVersion.hpp.
34 m_Major = (encodedValue >> 22) & 1023;
35 m_Minor = (encodedValue >> 12) & 1023;
36 m_Patch = encodedValue & 4095;
◆ Version() [2/2]
Version |
( |
uint32_t |
major, |
|
|
uint32_t |
minor, |
|
|
uint32_t |
patch |
|
) |
| |
|
inline |
◆ GetEncodedValue()
uint32_t GetEncodedValue |
( |
| ) |
|
|
inline |
◆ GetMajor()
◆ GetMinor()
◆ GetPatch()
◆ operator==()
bool operator== |
( |
const Version & |
other | ) |
const |
|
inline |
Definition at line 54 of file EncodeVersion.hpp.
56 return m_Major == other.m_Major && m_Minor == other.m_Minor && m_Patch == other.m_Patch;
◆ ToString()
std::string ToString |
( |
| ) |
const |
|
inline |
Definition at line 59 of file EncodeVersion.hpp.
Referenced by armnn::profiling::operator<<().
61 constexpr
char separator =
'.';
63 std::stringstream stringStream;
64 stringStream << m_Major << separator << m_Minor << separator << m_Patch;
66 return stringStream.str();
The documentation for this class was generated from the following file: