TAccPolValueRecord Class Reference

class TAccPolValueRecord
Public Member Functions
TAccPolValueRecord ()
TAccPolValueRecord ( TInt , TAccPolValueType , TAccPolValueLocation )
TAccPolValueRecord ( TDesC8 &, TAccPolValueLocation )
TAccPolValueRecord ( TAccPolValueLocation , CAccPolObjectCon *)
IMPORT_C void GetValueL ( TDesC8 &)
IMPORT_C TAccPolValueLocation Location ()
IMPORT_C void SetL ( TInt , TAccPolValueType , TAccPolValueLocation )
IMPORT_C void SetLocation ( TAccPolValueLocation )
IMPORT_C void SetType ( TAccPolValueType )
IMPORT_C void SetValue ( TInt )
IMPORT_C void SetValue (const TDesC8 &)
IMPORT_C TAccPolValueType Type ()
IMPORT_C TInt Value ()
IMPORT_C TDesC8 & ValueRef ()
Private Attributes
TAccPolValueLocation iLocation
TAccPolValueType iType
TInt iValue
TPtrC8 iValueRef

Constructor & Destructor Documentation

TAccPolValueRecord()

IMPORT_C TAccPolValueRecord ( )

C++ default constructor.

TAccPolValueRecord(TInt, TAccPolValueType, TAccPolValueLocation)

IMPORT_C TAccPolValueRecord ( TInt aValue,
TAccPolValueType aType,
TAccPolValueLocation aLocation
)

C++ constructor.

Since
S60 3.1

Parameters

TInt aValue Capability value.
TAccPolValueType aType Capability type.
TAccPolValueLocation aLocation Capability location.

TAccPolValueRecord(TDesC8 &, TAccPolValueLocation)

IMPORT_C TAccPolValueRecord ( TDesC8 & aValue,
TAccPolValueLocation aLocation
)

C++ constructor.

Since
S60 3.1

Parameters

TDesC8 & aValue Capability value.
TAccPolValueLocation aLocation Capability location.

TAccPolValueRecord(TAccPolValueLocation, CAccPolObjectCon *)

IMPORT_C TAccPolValueRecord ( TAccPolValueLocation aLocation,
CAccPolObjectCon * aObject = NULL
)

C++ constructor.

Parameters

TAccPolValueLocation aLocation Capability location.
CAccPolObjectCon * aObject = NULL

Member Functions Documentation

GetValueL(TDesC8 &)

IMPORT_C void GetValueL ( TDesC8 & aValue ) const

Gets the descriptor type value of value record.

Since
S60 3.1

Parameters

TDesC8 & aValue Capability value.

Location()

IMPORT_C TAccPolValueLocation Location ( ) const

Returns the location of the value of value record.

Since
S60 3.1

SetL(TInt, TAccPolValueType, TAccPolValueLocation)

IMPORT_C void SetL ( TInt aValue,
TAccPolValueType aType,
TAccPolValueLocation aLocation
)

Sets content of a value record.

Since
S60 3.1

Parameters

TInt aValue Value.
TAccPolValueType aType Type.
TAccPolValueLocation aLocation Location.

SetLocation(TAccPolValueLocation)

IMPORT_C void SetLocation ( TAccPolValueLocation aLocation )

Sets the location of the value of value record.

Since
S60 3.1

Parameters

TAccPolValueLocation aLocation

SetType(TAccPolValueType)

IMPORT_C void SetType ( TAccPolValueType aType )

Sets the type of the value of value record.

Since
S60 3.1

Parameters

TAccPolValueType aType Capability type. return void.

SetValue(TInt)

IMPORT_C void SetValue ( TInt aValue )

Sets the integer value of value record.

Since
S60 3.1

Parameters

TInt aValue Capability value.

SetValue(const TDesC8 &)

IMPORT_C void SetValue ( const TDesC8 & aValue )

Sets the descriptor type of value to the value record.

Since
S60 3.1

Parameters

const TDesC8 & aValue Reference to capability value.

Type()

IMPORT_C TAccPolValueType Type ( ) const

Returns the type of the value of value record.

Since
S60 3.1 return TAccPolValueType holding the value type of the value record.

Value()

IMPORT_C TInt Value ( ) const

Returns the value of value record.

Since
S60 3.1

ValueRef()

IMPORT_C TDesC8 & ValueRef ( )

Returns the reference to the value of value record.

Since
S60 3.1

Member Data Documentation

TAccPolValueLocation iLocation

TAccPolValueLocation iLocation [private]

TAccPolValueType iType

TAccPolValueType iType [private]

TInt iValue

TInt iValue [private]

TPtrC8 iValueRef

TPtrC8 iValueRef [private]