CMTPMetaData Class Reference
class CMTPMetaData : public CBase |
Defines the MTP meta-data base class.
Nested Classes and Structures
Public Member Functions |
---|
| ~CMTPMetaData() |
IMPORT_C TInt | CompareTPathHash(const TPathHash &, const TPathHash &) |
IMPORT_C const TDesC & | DesC(TUint) |
IMPORT_C const CDesCArray & | DesCArray(TUint) |
IMPORT_C TAny * | GetExtendedInterface(TUid) |
IMPORT_C const RArray< TPathHash > & | GetHashPathArray() |
IMPORT_C void | GetIntArrayL(TUint, RArray< TInt > &) |
IMPORT_C void | GetUintArrayL(TUint, RArray< TUint > &) |
IMPORT_C TInt | Int(TUint) |
IMPORT_C const RArray< TInt > & | IntArray(TUint) |
IMPORT_C void | SetDesCArrayL(TUint, const CDesCArrayFlat &) |
IMPORT_C void | SetDesCArrayL(TUint, const CDesCArraySeg &) |
IMPORT_C void | SetDesCL(TUint, const TDesC &) |
IMPORT_C void | SetHashPath(const TDesC16 &, TUint) |
IMPORT_C void | SetInt(TUint, TInt) |
IMPORT_C void | SetIntArrayL(TUint, const RArray< TInt > &) |
IMPORT_C void | SetUint(TUint, TUint) |
IMPORT_C void | SetUintArrayL(TUint, const RArray< TUint > &) |
IMPORT_C TUint | Uint(TUint) |
IMPORT_C const RArray< TUint > & | UintArray(TUint) |
Constructor & Destructor Documentation
CMTPMetaData(const TElementMetaData *, TUint)
~CMTPMetaData()
IMPORT_C | ~CMTPMetaData | ( | ) | [virtual] |
Member Functions Documentation
CompareTPathHash(const TPathHash &, const TPathHash &)
ConstructL()
void | ConstructL | ( | ) | [protected] |
Second phase constructor.
- leave
- One of the system wide error code, if a processing failure occurs.
ConstructL(const CMTPMetaData &)
Second phase copy constructor.
- leave
- One of the system wide error code, if a processing failure occurs.
CopyL(const CDesCArray &, CDesCArray &)
Copies the specified array contents.
- leave
- One of the system wide error code, if a processing failure occurs.
CopyL(const RArray< TInt > &, RArray< TInt > &)
Copies the specified array contents.
- leave
- One of the system wide error code, if a processing failure occurs.
CopyL(const RArray< TUint > &, RArray< TUint > &)
Copies the specified array contents.
- leave
- One of the system wide error code, if a processing failure occurs.
DeleteIntArray(TUint)
void | DeleteIntArray | ( | TUint | aIdx | ) | [private] |
Deletes the specified IntArray.
Parameters
TUint aIdx | The iElementsIntArray index. |
DeleteUintArray(TUint)
void | DeleteUintArray | ( | TUint | aIdx | ) | [private] |
Deletes the specified IntArray.
Parameters
TUint aIdx | The iElementsIntArray index. |
DesC(TUint)
Provides the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
DesCArray(TUint)
Provides the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
GetExtendedInterface(TUid)
IMPORT_C TAny * | GetExtendedInterface | ( | TUid | aInterfaceUid | ) | |
Provides an MTP object manager's object meta data record extension interface implementation for the specified interface Uid.
Parameters
TUid aInterfaceUid | Unique identifier for the extension interface being requested. |
GetIntArrayL(TUint, RArray< TInt > &)
Provides a copy of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
TUint aId | The element identifier. |
RArray< TInt > & aValue | On successful completion, a copy of the element value. |
GetUintArrayL(TUint, RArray< TUint > &)
Provides a copy of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
TUint aId | The element identifier. |
RArray< TUint > & aValue | On successful completion, a copy of the element value. |
Int(TUint)
Provides the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
IntArray(TUint)
Provides the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
SetDesCArrayL(TUint, const CDesCArrayFlat &)
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
SetDesCArrayL(TUint, const CDesCArraySeg &)
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
SetDesCL(TUint, const TDesC &)
IMPORT_C void | SetDesCL | ( | TUint | aId, |
| const TDesC & | aValue |
| ) | |
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
TUint aId | The element identifier. |
const TDesC & aValue | The element value. |
SetHashPath(const TDesC16 &, TUint)
IMPORT_C void | SetHashPath | ( | const TDesC16 & | aExclusionPath, |
| TUint | aIndex |
| ) | |
SetInt(TUint, TInt)
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
TInt aValue | The element value. |
SetIntArrayL(TUint, const RArray< TInt > &)
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
TUint aId | The element identifier. |
const RArray< TInt > & aValue | The element value. |
SetUint(TUint, TUint)
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
TUint aValue | The element value. |
SetUintArrayL(TUint, const RArray< TUint > &)
Sets the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
TUint aId | The element identifier. |
const RArray< TUint > & aValue | The element value. |
Uint(TUint)
Provides the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
UintArray(TUint)
Provides the value of the specified element.
- panic
- CMTPMetaData 0 In debug builds, if the specified element is not of the requested type.
Parameters
TUint aId | The element identifier. |
Member Enumerations Documentation
Enum TDesCArrayType
The CDesCArray element data type identifiers.
Enum TType
The meta-data element data type identifiers.
Enumerators
EUndefined = 0 |
Unknown (null).
|
EDesC = 1 |
TDesC.
|
EDesCArray = 2 |
CDesCArray.
|
EInt = 3 |
TInt.
|
EIntArray = 4 |
Rarray<TInt>.
|
EUint = 5 |
TUint.
|
EUintArray = 6 |
Rarray<TUint>.
|
Member Data Documentation
const TUint KGranularity
const TUint | KGranularity | [private, static] |
The default array granularity
const RArray< TElementMetaData > iElements
RPointerArray< HBufC > iElementsDesC
RPointerArray< CDesCArray > iElementsDesCArray
The DesCArray element data.
RArray< TInt > iElementsDesCArrayType
The TDesCArrayType type element data.
RArray< TInt > iElementsInt
RPointerArray< TAny > iElementsIntArray
The IntArray element data.
RArray< TUint > iElementsUint
RPointerArray< TAny > iElementsUintArray
The UintArray element data.
TAny * iExtensionData
TAny * | iExtensionData | [private] |
The extended data object pointer.
TAny * iExtensionInterfaces
TAny * | iExtensionInterfaces | [private] |
The extended interface object pointer.
RArray< TPathHash > iPathHash
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.