TNSmlSnapshotItem Class Reference

class TNSmlSnapshotItem

TNSmlSnapshotItem .

nsmlchangefinder.lib

Constructor & Destructor Documentation

TNSmlSnapshotItem()

IMPORT_C TNSmlSnapshotItem ( )

C++ constructor

TNSmlSnapshotItem(const TSmlDbItemUid &)

IMPORT_C TNSmlSnapshotItem ( const TSmlDbItemUid & aItemId )

C++ constructor.

Parameters

const TSmlDbItemUid & aItemId UID value as TSmlDbItemUid.

Member Functions Documentation

Compare(const TNSmlSnapshotItem &)

IMPORT_C TInt Compare ( const TNSmlSnapshotItem & aItem ) const

Compare method for comparing last change dates of two snapshot items. Returns < 0 if this item is smaller than aItem, returns 0 if both items are equal and > 0 if aItem is greater than this snapshot item.

Parameters

const TNSmlSnapshotItem & aItem Item which this item is compared to.

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Stream externalizer method.

Parameters

RWriteStream & aStream Stream this snapshot item will be externalized into.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Stream interlizer method.

Parameters

RReadStream & aStream Stream this snapshot item will be internalized from.

ItemId()

IMPORT_C const TSmlDbItemUid & ItemId ( ) const

Getter for item UID value.

LastChangedDate()

IMPORT_C const TTime & LastChangedDate ( ) const

Getter for last modification date value.

ParentId()

IMPORT_C const TSmlDbItemUid & ParentId ( ) const

Getter for parent UID value.

SetItemId(const TSmlDbItemUid &)

IMPORT_C void SetItemId ( const TSmlDbItemUid & aItemId )

Setter for item UID value.

Parameters

const TSmlDbItemUid & aItemId item UID.

SetLastChangedDate(const TTime &)

IMPORT_C void SetLastChangedDate ( const TTime & aLastChangedDate )

Setter for last modification date value.

Parameters

const TTime & aLastChangedDate Last modification date.

SetParentId(const TSmlDbItemUid &)

IMPORT_C void SetParentId ( const TSmlDbItemUid & aParentId )

Setter for parent UID value.

Parameters

const TSmlDbItemUid & aParentId parent UID.

SetSoftDelete(const TBool &)

IMPORT_C void SetSoftDelete ( const TBool & aSoftDelete )

Setter for soft delete value.

Parameters

const TBool & aSoftDelete soft delete value.

SoftDelete()

IMPORT_C const TBool & SoftDelete ( ) const

Getter for soft delete value.

Member Data Documentation

TSmlDbItemUid iItemId

TSmlDbItemUid iItemId [private]

TTime iLastChangedDate

TTime iLastChangedDate [private]

TSmlDbItemUid iParentId

TSmlDbItemUid iParentId [private]

TBool iSoftDelete

TBool iSoftDelete [private]