TCapabilitySet Class Reference
Class representing an arbitrary set of capabilities.
This class can only contain capabilities supported by the current OS version.
Constructor & Destructor Documentation
TCapabilitySet()
Default constructor. This leaves the set in an undefned state.
TCapabilitySet(TCapability)
Construct a set consisting of a single capability.
TCapabilitySet(TCapability, TCapability)
Construct a set consisting of two capabilities.
Member Functions Documentation
AddCapability(TCapability)
Add a single capability to the set. If the capability is not supported by this OS version then it is not added and the set is left unchanged. TCapabilitySet::SetAllSupported()
HasCapabilities(const TCapabilitySet &)
Test if all the capabilities in a given set are present in this set
HasCapability(TCapability)
Test if a single capability is present in the set. The capability ECapability_None is always treated as being present.
Intersection(const TCapabilitySet &)
Perform an intersection of this capability set with another. The result replaces the content of 'this'.
Remove(const TCapabilitySet &)
Remove a set of capabilities from this set.
RemoveCapability(TCapability)
Remove a single capability from the set, if it is present.
Set(TCapability)
Make this set consist of a single capability.
Set(TCapability, TCapability)
Make this set consist of two capabilities.
SetAllSupported()
IMPORT_C void | SetAllSupported | ( | ) | |
Make this set consist of all capabilities supported by this OS version.
SetDisabled()
IMPORT_C void | SetDisabled | ( | ) | |
Make this set consist of the capabilities which are disabled on this platform.
SetEmpty()
Make this set empty. I.e. Containing no capabilities.
Union(const TCapabilitySet &)
Perform a union of this capability set with another. The result replaces the content of 'this'.
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.