TMifareClassicAddress Class Reference

#include <mw/mifareclassicaddress.h>

class TMifareClassicAddress

Detailed Description

Interface which provides access to manage Mifare classic addresses.

Since
S60 ?S60_version

Constructor & Destructor Documentation

TMifareClassicAddress ( TUint32, TUint32, TUint32 )

IMPORT_CTMifareClassicAddress(TUint32aByte = 0,
TUint32aBlock = 0,
TUint32aSector = 0
)

Creates a new instance of this class.

ParameterDescription
aByteByte address.
aBlockBlock address.
aSectorSector address.

TMifareClassicAddress ( const TMifareClassicAddress & )

IMPORT_CTMifareClassicAddress(const TMifareClassicAddress &aAddress)

Creates a new instance of this class.

ParameterDescription
aAddressAddress which content will be copied to this object.

~TMifareClassicAddress ( )

IMPORT_C~TMifareClassicAddress()

Destructor.

Member Function Documentation

GetBlock ( )

IMPORT_C TUint32GetBlock()const

Gets current block address.

Returns: Current block address.

GetByte ( )

IMPORT_C TUint32GetByte()const

Gets current byte address.

Returns: Current byte address.

GetSector ( )

IMPORT_C TUint32GetSector()const

Gets current sector address.

Returns: Current sector address.

SetBlock ( TUint32 )

IMPORT_C voidSetBlock(TUint32aBlock)

Sets a new block address.

ParameterDescription
aBlocka new block address.

SetByte ( TUint32 )

IMPORT_C voidSetByte(TUint32aByte)

Sets a new byte address.

ParameterDescription
aBytea new byte address.

SetSector ( TUint32 )

IMPORT_C voidSetSector(TUint32aSector)

Sets a new sector address.

ParameterDescription
aSectora new sector address.

operator!= ( const TMifareClassicAddress & )

IMPORT_C TBooloperator!=(const TMifareClassicAddress &aAddress)const

Determines whether this TMifareClassicAddress is not equal with specified TMifareClassicAddress.

ParameterDescription
aAddressTMifareClassicAddress which is compared to this TMifareClassicAddress.

operator= ( const TMifareClassicAddress & )

IMPORT_C TMifareClassicAddress &operator=(const TMifareClassicAddress &aAddress)

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

operator== ( const TMifareClassicAddress & )

IMPORT_C TBooloperator==(const TMifareClassicAddress &aAddress)const

Determines whether this TMifareClassicAddress is equal with specified TMifareClassicAddress.

ParameterDescription
aAddressTMifareClassicAddress which is compared to this TMifareClassicAddress.