TNfcType2Address Class Reference

#include <mw/nfctype2address.h>

Link against: nfctagextension.lib

class TNfcType2Address

Detailed Description

Interface which provides access to manage NFC Forum Type 2 addresses.

Since
S60 ?S60_version

Constructor & Destructor Documentation

TNfcType2Address ( TUint32, TUint32 )

IMPORT_CTNfcType2Address(TUint32aByte = 0,
TUint32aBlock = 0
)

Creates a new instance of this class.

Parameters
aByteByte address.
aBlockBlock address.

TNfcType2Address ( const TNfcType2Address & )

IMPORT_CTNfcType2Address(const TNfcType2Address &aAddress)

Creates a new instance of this class.

Parameters
aAddressAddress which content will be copied to this object.

~TNfcType2Address ( )

IMPORT_C~TNfcType2Address()

Destructor.

Member Function Documentation

GetBlock ( )

IMPORT_C TUint32GetBlock()const

Gets current block address.

Return Value
Current block address.

GetByte ( )

IMPORT_C TUint32GetByte()const

Gets current byte address.

Return Value
Current byte address.

SetBlock ( TUint32 )

IMPORT_C voidSetBlock(TUint32aBlock)

Sets a new block address.

Parameters
aBlocka new block address.

SetByte ( TUint32 )

IMPORT_C voidSetByte(TUint32aByte)

Sets a new byte address.

Parameters
aBytea new byte address.

operator!= ( const TNfcType2Address & )

IMPORT_C TBooloperator!=(const TNfcType2Address &aAddress)const

Determines whether this TNfcType2Address is not equal with specified TNfcType2Address.

Parameters
aAddressTNfcType2Address which is compared to this TNfcType2Address.

operator= ( const TNfcType2Address & )

IMPORT_C TNfcType2Address &operator=(const TNfcType2Address &aAddress)

Copies data from specified TNfcType2Address to this TNfcType2Address. by replacing any existing data.

Parameters
aAddressTNfcType2Address, which is copied to this TNfcType2Address.

operator== ( const TNfcType2Address & )

IMPORT_C TBooloperator==(const TNfcType2Address &aAddress)const

Determines whether this TNfcType2Address is equal with specified TNfcType2Address.

Parameters
aAddressTNfcType2Address which is compared to this TNfcType2Address.