Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
00001 00008 #pragma once 00009 00010 #include <fsdk/Def.h> 00011 #include <cstdint> 00012 00013 namespace fsdk { 00014 00024 struct Version { 00025 uint8_t major; 00026 uint8_t minor; 00027 uint16_t patch; 00028 }; 00029 00036 inline bool operator<(Version lhs, Version rhs) noexcept { 00037 if(lhs.major < rhs.major) 00038 return true; 00039 if(lhs.minor < rhs.minor) 00040 return true; 00041 return lhs.patch < rhs.patch; 00042 } 00043 00050 inline bool operator==(Version lhs, Version rhs) noexcept { 00051 return lhs.major == rhs.major && lhs.minor == rhs.minor && lhs.patch == rhs.patch; 00052 } 00053 00060 inline bool operator!=(Version lhs, Version rhs) noexcept { 00061 return !(lhs == rhs); 00062 } 00063 00068 FSDK_API Version getVersion() noexcept; 00069 00074 FSDK_API const char* getVersionHash() noexcept; 00075 00080 FSDK_API const char* getVersionString() noexcept; 00081 00087 FSDK_API const char* getBuildInfo() noexcept; 00088 // end of VersionGroup 00090 } // namespace fsdk