CDefaultResolver Class Reference
class CDefaultResolver : public CResolver |
- Since
- 7.0 Controls the identification, (resolution), of which implementation will be used to satisfy an interface implementation instantiation.
Constructor & Destructor Documentation
CDefaultResolver(MPublicRegistry &)
~CDefaultResolver()
Intended Usage : Standard default d'tor Error Condition : None
- Since
- 7.0
Member Functions Documentation
IdentifyImplementationL(TUid, const TEComResolverParams &)
Intended Usage : Request that the resolver identify the most appropriate interface implementation. Error Condition :
- Since
- 7.0
- Pre-condition
- Object is fully constructed and initialized
- Post-condition
- Registry contents are not modified but registry keys may be updated
Parameters
TUid aInterfaceUid | The interface for which implementations are requested |
const TEComResolverParams & aAdditionalParameters | Data to be used to refine the search further |
ListAllL(TUid, const TEComResolverParams &)
Intended Usage : List all the implementations which satisfy the specified interface. Error Condition :
- Since
- 7.0
- Pre-condition
- Object is fully constructed and initialized
- Post-condition
- Registry contents are not modified but registry keys may be updated
Parameters
TUid aInterfaceUid | The interface for which implementations are requested |
const TEComResolverParams & aAdditionalParameters | Data to be used to refine the search further |
Match(const TDesC8 &, const TDesC8 &, TBool)
Intended Usage : Searches for a match of a data type on an implementation type. Match returns ETrue if aMatchType is found within aImplementationType according to the following rules: 1) aImplementationType is treated as a series of descriptors separated by double bars (||). ETrue is returned if aMatchType matches exactly any of the short descriptors. If no double bar is present then aImplementationType is treated as a single descriptor. 2) If aUseWildcards == ETrue then a '?' in aMatchType will be matched to any single character and '*' will be matched to any series of characters.
- leave
- KErrNoMemory
- Since
- 7.0
- Pre-condition
- This object is fully constructed
Parameters
const TDesC8 & aImplementationType | The implementation data type to search for a match |
const TDesC8 & aMatchType | The data to search for |
TBool aUseWildcards | ETrue if wildcard matching should be allowed |
Resolve(const RImplInfoArray &, const TEComResolverParams &)
Intended Usage : Called by IdentifyImplementationL to select an appropriate implementation from a list of possibles
- Since
- 7.0
- Pre-condition
- This object is fully constructed
Parameters
const RImplInfoArray & aImplementationsInfo | Information on the potential implementations |
const TEComResolverParams & aAdditionalParameters | The data to match against to detemine the implementation |
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.