class CCdlInstance : public CCdlEngineRef |
The abstract base class for all customisation instance objects. Only the CDL engine can create objects derived from this class.
Public Member Functions | |
---|---|
TAny * | Extension(TInt) |
IMPORT_C void | FileNameRelativeToLastAccessedInstance(TFileName &) |
IMPORT_C TAny * | GetData(TInt) |
IMPORT_C TCdlEngineFunc * | GetFunction(TInt) |
TAny * | Implementation(TInt) |
const CCdlInstance * | Implementor(TInt) |
const SCdlInterface & | Interface() |
TBool | IsComplete() |
IMPORT_C const TCdlRef & | LastAccessedRef() |
IMPORT_C CCdlInstance * | NewL(const TCdlRef &, const SCdlInterface *, const CCdlInstance *, CCdlEngine *, TInt *) |
IMPORT_C CCdlInstance * | NewLC(const TCdlRef &, const SCdlInterface *, const CCdlInstance *, CCdlEngine *, TInt *) |
IMPORT_C const TCdlRef & | Ref() |
IMPORT_C const CCdlInstance * | SubLayer() |
IMPORT_C TBool | operator==(const CCdlInstance &) |
Protected Member Functions | |
---|---|
CCdlInstance(CCdlEngine *, TInt *) |
Protected Attributes | |
---|---|
TInt & | iLastApi |
TCdlRef | iRef |
const CCdlInstance * | iSubLayer |
CCdlInstance | ( | CCdlEngine * | aEngine, |
TInt * | aLastApi | ||
) | [protected] |
CCdlEngine * aEngine | |
TInt * aLastApi |
IMPORT_C void | FileNameRelativeToLastAccessedInstance | ( | TFileName & | aFileName | ) | const |
Adjusts a filename to be relative to the file containing the CDL instance that implemented the last accessed API. The filename will be made relative to this instances file, or the file of one of this instances sub-layers.
TFileName & aFileName | the filename to be adjusted. |
TAny * | Implementation | ( | TInt | aCdlApiId | ) | const [pure virtual] |
TInt aCdlApiId |
TBool | IsComplete | ( | ) | const [pure virtual] |
Does this instance implement all of it's API? Instances that don't implement their entire API need a sub-layer that does implement the entire API. true if the entire API is implemented
IMPORT_C const TCdlRef & | LastAccessedRef | ( | ) | const |
The CDL instance reference for the instance that actually implemented the last accessed API. If this instance implemented the API, then this instance's reference will be returned. Otherwise it will be the reference of one of this instance's sub-layers. the CDL reference of the instance that implemented the last accessed API.
IMPORT_C CCdlInstance * | NewL | ( | const TCdlRef & | aRef, |
const SCdlInterface * | aInterfaceParams, | |||
const CCdlInstance * | aSubLayer = NULL, | |||
CCdlEngine * | aEngine = NULL, | |||
TInt * | aLastApi = NULL | |||
) | [static] |
const TCdlRef & aRef | |
const SCdlInterface * aInterfaceParams | |
const CCdlInstance * aSubLayer = NULL | |
CCdlEngine * aEngine = NULL | |
TInt * aLastApi = NULL |
IMPORT_C CCdlInstance * | NewLC | ( | const TCdlRef & | aRef, |
const SCdlInterface * | aInterfaceParams, | |||
const CCdlInstance * | aSubLayer = NULL, | |||
CCdlEngine * | aEngine = NULL, | |||
TInt * | aLastApi = NULL | |||
) | [static] |
const TCdlRef & aRef | |
const SCdlInterface * aInterfaceParams | |
const CCdlInstance * aSubLayer = NULL | |
CCdlEngine * aEngine = NULL | |
TInt * aLastApi = NULL |
IMPORT_C const TCdlRef & | Ref | ( | ) | const |
Gets the CDL instance reference for this instance the CDL reference for this instance
IMPORT_C const CCdlInstance * | SubLayer | ( | ) | const |
Gets the instance that forms the sub-layer for this instance. Any API not implemented by this instance will be implemented in a sub-layer. the sub-layer for this instance, may be NULL.
IMPORT_C TBool | operator== | ( | const CCdlInstance & | aOther | ) | const |
Test whether this instance is the same as another. true if they are the same instance.
const CCdlInstance & aOther | the instance you want to compare with this one. |