Vuo  1.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
VuoCompilerTargetSet Class Reference

Description

Stores a set of targets (operating system versions) and can be used to check compatibility.

Public Types

enum  MacVersion { MacVersion_Any, 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.
 
void restrictToBeCompatibleWithAllOf (const VuoCompilerTargetSet &other)
 Restricts the target set to the intersection between it and the other target set.
 
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.
 

Member Enumeration Documentation

Mac OS versions.

Constructor & Destructor Documentation

VuoCompilerTargetSet::VuoCompilerTargetSet ( void  )

Creates a target set that is unrestricted.

It includes any operating system version.

Member Function Documentation

bool VuoCompilerTargetSet::isCompatibleWithAllOf ( const VuoCompilerTargetSet other) const

Returns true if this target set is a superset of the other target set.

void VuoCompilerTargetSet::restrictToBeCompatibleWithAllOf ( const VuoCompilerTargetSet other)

Restricts the target set to the intersection between it and 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.


The documentation for this class was generated from the following files: