Vuo
0.5.0
|
Stores a set of targets (operating system versions) and can be used to check compatibility.
Public Types | |
enum | MacVersion { MacVersion_Any, MacVersion_10_6, MacVersion_10_7, MacVersion_10_8, MacVersion_10_9 } |
Mac OS versions. More... | |
Public Member Functions | |
VuoCompilerTargetSet (void) | |
Creates a target set that is unrestricted. | |
void | setMinMacVersion (enum MacVersion min) |
Restricts the target set to Mac OS versions of min or above. | |
void | setMaxMacVersion (enum MacVersion max) |
Restricts the target set to Mac OS versions of max or below. | |
void | restrictToCurrentOperatingSystemVersion (void) |
Restricts the target set to the current (runtime) Mac OS version. | |
bool | isCompatibleWithAllOf (const VuoCompilerTargetSet &other) const |
Returns true if this target set is a superset of the other target set. | |
string | toString (void) |
Returns a description of this target set. | |
Mac OS versions.
VuoCompilerTargetSet::VuoCompilerTargetSet | ( | void | ) |
Creates a target set that is unrestricted.
It includes any operating system version.
bool VuoCompilerTargetSet::isCompatibleWithAllOf | ( | const VuoCompilerTargetSet & | other | ) | const |
Returns true if this target set is a superset of the other target set.
void VuoCompilerTargetSet::restrictToCurrentOperatingSystemVersion | ( | void | ) |
Restricts the target set to the current (runtime) Mac OS version.
void VuoCompilerTargetSet::setMaxMacVersion | ( | enum MacVersion | max | ) |
Restricts the target set to Mac OS versions of max or below.
void VuoCompilerTargetSet::setMinMacVersion | ( | enum MacVersion | min | ) |
Restricts the target set to Mac OS versions of min or above.
string VuoCompilerTargetSet::toString | ( | void | ) |
Returns a description of this target set.