class TCapabilitySet |
Class representing an arbitrary set of capabilities.
This class can only contain capabilities supported by the current OS version.
Public Member Functions | |
---|---|
TCapabilitySet() | |
TCapabilitySet(TCapability) | |
TCapabilitySet(TCapability, TCapability) | |
IMPORT_C void | AddCapability(TCapability) |
IMPORT_C TBool | HasCapabilities(const TCapabilitySet &) |
IMPORT_C TBool | HasCapability(TCapability) |
IMPORT_C void | Intersection(const TCapabilitySet &) |
TBool | NotEmpty() |
IMPORT_C void | Remove(const TCapabilitySet &) |
IMPORT_C void | RemoveCapability(TCapability) |
void | Set(TCapability) |
void | Set(TCapability, TCapability) |
IMPORT_C void | SetAllSupported() |
IMPORT_C void | SetDisabled() |
IMPORT_C void | SetEmpty() |
IMPORT_C void | Union(const TCapabilitySet &) |
Private Attributes | |
---|---|
TUint32 | iCaps |
TCapabilitySet | ( | ) | [inline] |
Default constructor. This leaves the set in an undefned state.
TCapabilitySet | ( | TCapability | aCapability | ) | [inline] |
Construct a set consisting of a single capability.
TCapability aCapability | The single capability |
IMPORT_C | TCapabilitySet | ( | TCapability | aCapability1, |
TCapability | aCapability2 | |||
) |
TCapability aCapability1 | |
TCapability aCapability2 |
IMPORT_C void | AddCapability | ( | TCapability | aCapability | ) |
TCapability aCapability |
IMPORT_C TBool | HasCapabilities | ( | const TCapabilitySet & | aCapabilities | ) | const |
const TCapabilitySet & aCapabilities |
IMPORT_C TBool | HasCapability | ( | TCapability | aCapability | ) | const |
TCapability aCapability |
IMPORT_C void | Intersection | ( | const TCapabilitySet & | aCapabilities | ) |
const TCapabilitySet & aCapabilities |
IMPORT_C void | Remove | ( | const TCapabilitySet & | aCapabilities | ) |
const TCapabilitySet & aCapabilities |
IMPORT_C void | RemoveCapability | ( | TCapability | aCapability | ) |
TCapability aCapability |
void | Set | ( | TCapability | aCapability | ) | [inline] |
Make this set consist of a single capability.
TCapability aCapability | The single capability. |
void | Set | ( | TCapability | aCapability1, |
TCapability | aCapability2 | |||
) | [inline] |
Make this set consist of two capabilities.
TCapability aCapability1 | The first capability. |
TCapability aCapability2 | The second capability. |
IMPORT_C void | SetDisabled | ( | ) |
Make this set consist of the capabilities which are disabled on this platform.
IMPORT_C void | Union | ( | const TCapabilitySet & | aCapabilities | ) |
const TCapabilitySet & aCapabilities |