ArmNN
 25.11
Loading...
Searching...
No Matches
BackendVersion Struct Reference

#include <IBackendInternal.hpp>

Public Member Functions

constexpr BackendVersion ()
constexpr BackendVersion (uint32_t major, uint32_t minor)
bool operator== (const BackendVersion &other) const
bool operator<= (const BackendVersion &other) const
bool operator>= (const BackendVersion &other) const

Public Attributes

uint32_t m_Major
uint32_t m_Minor

Detailed Description

Definition at line 32 of file IBackendInternal.hpp.

Constructor & Destructor Documentation

◆ BackendVersion() [1/2]

BackendVersion ( )
inlineconstexpr

Definition at line 37 of file IBackendInternal.hpp.

38 : m_Major(0)
39 , m_Minor(0)
40 {}

References m_Major, and m_Minor.

Referenced by operator<=(), operator==(), and operator>=().

◆ BackendVersion() [2/2]

BackendVersion ( uint32_t major,
uint32_t minor )
inlineconstexpr

Definition at line 41 of file IBackendInternal.hpp.

42 : m_Major(major)
43 , m_Minor(minor)
44 {}

References m_Major, and m_Minor.

Member Function Documentation

◆ operator<=()

bool operator<= ( const BackendVersion & other) const
inline

Definition at line 53 of file IBackendInternal.hpp.

54 {
55 return this->m_Major < other.m_Major ||
56 (this->m_Major == other.m_Major &&
57 this->m_Minor <= other.m_Minor);
58 }

References BackendVersion(), m_Major, and m_Minor.

◆ operator==()

bool operator== ( const BackendVersion & other) const
inline

Definition at line 46 of file IBackendInternal.hpp.

47 {
48 return this == &other ||
49 (this->m_Major == other.m_Major &&
50 this->m_Minor == other.m_Minor);
51 }

References BackendVersion(), m_Major, and m_Minor.

◆ operator>=()

bool operator>= ( const BackendVersion & other) const
inline

Definition at line 60 of file IBackendInternal.hpp.

61 {
62 return this->m_Major > other.m_Major ||
63 (this->m_Major == other.m_Major &&
64 this->m_Minor >= other.m_Minor);
65 }

References BackendVersion(), m_Major, and m_Minor.

Member Data Documentation

◆ m_Major

◆ m_Minor


The documentation for this struct was generated from the following file: