TAccPolNameValueRecord Class Reference

class TAccPolNameValueRecord

Constructor & Destructor Documentation

TAccPolNameValueRecord()

IMPORT_C TAccPolNameValueRecord ( )

C++ default constructor.

TAccPolNameValueRecord(const TAccPolNameRecord, const TAccPolValueRecord)

IMPORT_C TAccPolNameValueRecord ( const TAccPolNameRecord aNameRecord,
const TAccPolValueRecord aValueRecord
)

Constructor with name and value record.

Since
S60 3.1

Parameters

const TAccPolNameRecord aNameRecord Name record.
const TAccPolValueRecord aValueRecord Value record.

TAccPolNameValueRecord(const TUint32 &, TInt, TAccPolValueType, TAccPolValueLocation)

IMPORT_C TAccPolNameValueRecord ( const TUint32 & aName,
TInt aValue,
TAccPolValueType aType,
TAccPolValueLocation aLocation
)

Constructor with capability name and value.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Since
S60 3.1

Parameters

const TUint32 & aName Capability name.
TInt aValue Capability value.
TAccPolValueType aType Capability type.
TAccPolValueLocation aLocation Capability location.

TAccPolNameValueRecord(const TUint32 &, TDesC8 &, TAccPolValueLocation)

IMPORT_C TAccPolNameValueRecord ( const TUint32 & aName,
TDesC8 & aValue,
TAccPolValueLocation aLocation
)

Constructor with capability name and value.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Since
S60 3.1

Parameters

const TUint32 & aName Capability name.
TDesC8 & aValue Capability value. Notice! only reference to capability value is stored.
TAccPolValueLocation aLocation Capability location.

TAccPolNameValueRecord(const TUint32 &)

IMPORT_C TAccPolNameValueRecord ( const TUint32 & aName )

Constructor with capability name without value.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Since
S60 3.1

Parameters

const TUint32 & aName Capability name.

TAccPolNameValueRecord(const TUint32 &, TAccPolValueLocation, CAccPolObjectCon *)

IMPORT_C TAccPolNameValueRecord ( const TUint32 & aName,
TAccPolValueLocation aLocation,
CAccPolObjectCon * aValue = NULL
)

Constructor with capability name and value.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Parameters

const TUint32 & aName Capability name.
TAccPolValueLocation aLocation Capability location.
CAccPolObjectCon * aValue = NULL Capability value.

Member Functions Documentation

NameRecord()

IMPORT_C TAccPolNameRecord NameRecord ( ) const

Returns the name record of name/value record.

Since
S60 3.1

ValueRecord()

IMPORT_C TAccPolValueRecord ValueRecord ( ) const

Returns the value record of name/value record.

Since
S60 3.1

Member Data Documentation

TAccPolNameRecord iNameRecord

TAccPolNameRecord iNameRecord [private]

TAccPolValueRecord iValueRecord

TAccPolValueRecord iValueRecord [private]