Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <tchfvalue.h>
This item is not part of the S60 5th Edition SDK

Class TCHFValue

class TCHFValue;

Description

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

Members

Defined in TCHFValue:

See also:


Construction and destruction


TCHFValue()

inline TCHFValue();

Description

Constructor for an empty value.


TCHFValue(TAny *)

inline TCHFValue(TAny *aValue);

Description

Constructor for a TAny* value.

Parameters

TAny *aValue

Value to encapsulate


TCHFValue(TInt &)

inline TCHFValue(TInt &aValue);

Description

Constructor for a TInt value.

Parameters

TInt &aValue

Value to encapsulate


TCHFValue(TRect &)

inline TCHFValue(TRect &aValue);

Description

Constructor for a TRect value.

Parameters

TRect &aValue

Value to encapsulate


TCHFValue(TPoint &)

inline TCHFValue(TPoint &aValue);

Description

Constructor for a TPoint value.

Parameters

TPoint &aValue

Value to encapsulate


TCHFValue(TPtrC8 &)

inline TCHFValue(TPtrC8 &aValue);

Description

Constructor for a TPtrC8 value.

Parameters

TPtrC8 &aValue

Value to encapsulate


TCHFValue(TPtrC16 &)

inline TCHFValue(TPtrC16 &aValue);

Description

Constructor for a TPtrC16 value.

Parameters

TPtrC16 &aValue

Value to encapsulate


TCHFValue(CCHFContentHandler *&)

inline TCHFValue(CCHFContentHandler *&aValue);

Description

Parameters

CCHFContentHandler *&aValue


TCHFValue(RArray< TCHFValue > &)

inline TCHFValue(RArray< TCHFValue > &aValue);

Description

Constructor for an array of TCHFValue objects.

Parameters

RArray< TCHFValue > &aValue

Value to encapsulate


TCHFValue(CCoeControl &)

inline TCHFValue(CCoeControl &aValue);

Description

Constructor for a Cone Control object.

Parameters

CCoeControl &aValue

Value to encapsulate

[Top]


Member functions


Any()const

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()const

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()const

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()const

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()const

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()const

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()const

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()const

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