MCPcopy Create free account
hub / github.com/Kitware/CMake / IntegerVersion

Class IntegerVersion

Source/cmQtAutoGen.h:37–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 };
36 /** Integer version. */
37 struct IntegerVersion
38 {
39 unsigned int Major = 0;
40 unsigned int Minor = 0;
41
42 IntegerVersion() = default;
43 IntegerVersion(unsigned int major, unsigned int minor)
44 : Major(major)
45 , Minor(minor)
46 {
47 }
48
49 bool operator>(IntegerVersion const version) const
50 {
51 return (this->Major > version.Major) ||
52 ((this->Major == version.Major) && (this->Minor > version.Minor));
53 }
54
55 bool operator>=(IntegerVersion const version) const
56 {
57 return (this->Major > version.Major) ||
58 ((this->Major == version.Major) && (this->Minor >= version.Minor));
59 }
60 };
61
62 /** Compiler features. */
63 class CompilerFeatures

Callers 5

InitFromInfoMethod · 0.85
InitMocMethod · 0.85
InitAutogenTargetMethod · 0.85
GetQtVersionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…