Alf::AlfAttributeValueType Class Reference
class Alf::AlfAttributeValueType |
Private Attributes |
---|
auto_ptr< AlfAttributeValueTypeImpl > | mData |
Constructor & Destructor Documentation
AlfAttributeValueType(int, TAlfUnit)
OSN_IMPORT | AlfAttributeValueType | ( | int | aValue, |
| TAlfUnit | aUnit = EAlfUnitPixel |
| ) | |
Parameters
int aValue | The value of the attribute. |
TAlfUnit aUnit = EAlfUnitPixel | Unit of the value. |
AlfAttributeValueType(float, TAlfUnit)
OSN_IMPORT | AlfAttributeValueType | ( | float | aValue, |
| TAlfUnit | aUnit = EAlfUnitNormalized |
| ) | |
Parameters
float aValue | The value of the attribute. |
TAlfUnit aUnit = EAlfUnitNormalized | Unit of the value. |
AlfAttributeValueType(const UString &)
OSN_IMPORT | AlfAttributeValueType | ( | const UString & | aValue | ) | |
Parameters
const UString & aValue | The value of the attribute. Takes a copy of the object. |
AlfAttributeValueType()
AlfAttributeValueType | ( | ) | [protected] |
~AlfAttributeValueType()
OSN_IMPORT | ~AlfAttributeValueType | ( | ) | [virtual] |
Member Functions Documentation
enumValue()
OSN_IMPORT int | enumValue | ( | ) | const [virtual] |
Gets the enum value.
- Exceptions
osncore::AlfDataException |
Thrown with error code osncore::EInvalidAttributeValue if the attribute value type is not of enum type.
|
intValue()
OSN_IMPORT int | intValue | ( | ) | const [virtual] |
Gets the integer value.
- Exceptions
osncore::AlfDataException |
Thrown with error code osncore::EInvalidAttributeValue if the attribute value type is not of integer type.
|
realValue()
OSN_IMPORT float | realValue | ( | ) | const [virtual] |
Gets the real value.
- Exceptions
osncore::AlfDataException |
Thrown with error code osncore::EInvalidAttributeValue if the attribute value type is not of float type.
|
rgbValue()
OSN_IMPORT float | rgbValue | ( | ) | const [virtual] |
Gets the RGB value.
- Exceptions
osncore::AlfDataException |
Thrown with error code osncore::EInvalidAttributeValue if the attribute value type is not of float type.
|
stringValue()
OSN_IMPORT const UString & | stringValue | ( | ) | const [virtual] |
Gets the string value.
- Exceptions
osncore::AlfDataException |
Thrown with error code osncore::EInvalidAttributeValue if the attribute value type is not of string type.
|
type()
OSN_IMPORT Type | type | ( | ) | const [virtual] |
Gets the type of the attribute value.
unit()
OSN_IMPORT TAlfUnit | unit | ( | ) | const [virtual] |
Gets the unit of the value.
Member Enumerations Documentation
Member Data Documentation
auto_ptr< AlfAttributeValueTypeImpl > mData
auto_ptr< AlfAttributeValueTypeImpl > | mData | [private] |
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.