CAlfPropertyOwner Class Reference
| class CAlfPropertyOwner : public CBase |
Value property object base class
Manages a list of properties. The current policy is that properties must always return a valid pointer, never NULL. Todomore
Constructor & Destructor Documentation
CAlfPropertyOwner()
| IMPORT_C | CAlfPropertyOwner | ( | ) | |
~CAlfPropertyOwner()
| IMPORT_C | ~CAlfPropertyOwner | ( | ) | |
Member Functions Documentation
CopyProperty(const CAlfPropertyOwner &, const TDesC8 &)
Copies named property from another object
Parameters
| const CAlfPropertyOwner & aOwner | Object which has the property to be copied |
| const TDesC8 & aPropertyName | The name of a property |
Find(const TDesC8 &, TInt *, TAlfPropertyType *)
Find a generic property object.
Parameters
| const TDesC8 & aName | the name of the property to find. |
| TInt * aIndex = NULL | Return parameter for index found. |
| TAlfPropertyType * aType = NULL | Return parameter for type found. |
FindOfType(const TDesC8 &, TInt *, TAlfPropertyType)
Find a property object of given type.
Does type checking to ensure that we got the expected property type.
Parameters
| const TDesC8 & aName | the name of the property to find. |
| TInt * aIndex | Return parameter for index found. |
| TAlfPropertyType aRequiredType | Type that is expected |
PropertyClear()
| IMPORT_C void | PropertyClear | ( | ) | |
PropertyFindInteger(const TDesC8 &, TInt *)
| IMPORT_C TBool | PropertyFindInteger | ( | const TDesC8 & | aName, |
| | TInt * | aRet = NULL |
| | ) | const |
Find the property by name. Can be overridden to provide custom handling of properties.
Parameters
| const TDesC8 & aName | the name of the property to find. |
| TInt * aRet = NULL | Return parameter for the found value, or NULL if no value required. |
PropertyFindInteger(const TDesC8 &, TRangedValue &)
!Internal util: Find complete ranged value.
PropertyFindString(const TDesC8 &, TDesC **)
| IMPORT_C TBool | PropertyFindString | ( | const TDesC8 & | aName, |
| | TDesC ** | aRet = NULL |
| | ) | const |
Find the property by name. Can be overridden to provide custom handling of properties.
Parameters
| const TDesC8 & aName | the name of the property to find. |
| TDesC ** aRet = NULL | Return parameter for the found value, or NULL if no value required. |
PropertyOwnerExtension(const TUid &, TAny **)
| IMPORT_C void | PropertyOwnerExtension | ( | const TUid & | aExtensionUid, |
| | TAny ** | aExtensionParams |
| | ) | [protected, virtual] |
Parameters
| const TUid & aExtensionUid | |
| TAny ** aExtensionParams | |
PropertyRemove(const TDesC8 &)
Remove the property by name, if it exists.
Parameters
| const TDesC8 & aName | the name of the property to remove. |
PropertySetIntegerL(const TDesC8 &, TInt, TInt, TInt)
Set a value property. This will set a property of type integer. If the property is already set, it will update the property's value. If not, it will create a new property. Can be overridden to provide custom handling of properties.
Parameters
| const TDesC8 & aName | the name of the property to set. |
| TInt aVal | The value of the property. |
| TInt aMin = INT_MIN | |
| TInt aMax = INT_MAX | |
PropertySetStringL(const TDesC8 &, const TDesC &)
Set a string property. This will set a property of type string. If the property is already set, it will update the property's value. If not, it will create a new property. Can be overridden to provide custom handling of properties.
Parameters
| const TDesC8 & aName | the name of the property to set. |
| const TDesC & aVal | The value of the property. |
Member Data Documentation
RPointerArray< CAlfProperty > iProperties
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.