Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: tchfvalue.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TCHFValue

class TCHFValue;

Description

Encapsulates a reference to a value which can be one of many different types.

Members

Defined in TCHFValue:
Any(), Control(), Int(), Point(), PtrC16(), PtrC8(), Rect(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), TCHFValue(), ValueArray()

See also:


Construction and destruction


TCHFValue()

inline TCHFValue();

Description

Constructor for an empty value.


TCHFValue()

inline TCHFValue(TAny *aValue);

Description

Constructor for a TAny* value.

Parameters

TAny *aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(TInt &aValue);

Description

Constructor for a TInt value.

Parameters

TInt &aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(TRect &aValue);

Description

Constructor for a TRect value.

Parameters

TRect &aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(TPoint &aValue);

Description

Constructor for a TPoint value.

Parameters

TPoint &aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(TPtrC8 &aValue);

Description

Constructor for a TPtrC8 value.

Parameters

TPtrC8 &aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(TPtrC16 &aValue);

Description

Constructor for a TPtrC16 value.

Parameters

TPtrC16 &aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(CCHFContentHandler *&aValue);

Description

Parameters

CCHFContentHandler *&aValue


TCHFValue()

inline TCHFValue(RArray< TCHFValue > &aValue);

Description

Constructor for an array of TCHFValue objects.

Parameters

RArray< TCHFValue > &aValue

Value to encapsulate


TCHFValue()

inline TCHFValue(CCoeControl &aValue);

Description

Constructor for a Cone Control object.

Parameters

CCoeControl &aValue

Value to encapsulate

[Top]


Member functions


Any()

inline TAny *Any() const;

Description

Returns a TAny* stored value.

The value is returned as a reference and may be changed.

Return value

TAny *

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


Int()

inline TInt &Int() const;

Description

Returns a TInt stored value.

The value is returned as a reference and may be changed.

Return value

TInt &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


Rect()

inline TRect &Rect() const;

Description

Returns a TRect stored value.

The value is returned as a reference and may be changed.

Return value

TRect &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


Point()

inline TPoint &Point() const;

Description

Returns a TPoint stored value.

The value is returned as a reference and may be changed.

Return value

TPoint &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


PtrC8()

inline TPtrC8 &PtrC8() const;

Description

Returns a TPtrC8 stored value.

The value is returned as a reference and may be changed.

Return value

TPtrC8 &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


PtrC16()

inline TPtrC16 &PtrC16() const;

Description

Returns a TPtrC16 stored value.

The value is returned as a reference and may be changed

Return value

TPtrC16 &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


ValueArray()

inline RArray< TCHFValue > &ValueArray() const;

Description

Returns an array of stored values.

The value is returned as a reference and may be changed

Return value

RArray< TCHFValue > &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type


Control()

inline CCoeControl &Control() const;

Description

Returns a CCoeControl stored value.

The value is returned as a reference and may be changed.

Return value

CCoeControl &

Stored value

Panic codes

CHFPanic::ECHFValueInvalidType

if the value stored is not of this type