TMsgEditorFlags Class Reference

class TMsgEditorFlags

Utility class of storing and using flags with message editor model.

Public Member Functions
TMsgEditorFlags()
TMsgEditorFlags(const TMsgEditorFlags &)
TMsgEditorFlags(TUint32)
IMPORT_C voidClear(TUint32)
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C TBoolIsSet(TUint32)
IMPORT_C voidSet(TUint32)
IMPORT_C TMsgEditorFlags &operator=(const TMsgEditorFlags &)
Private Attributes
TUint32 iFlags

Constructor & Destructor Documentation

TMsgEditorFlags()

IMPORT_CTMsgEditorFlags()

Constructor.

TMsgEditorFlags(const TMsgEditorFlags &)

IMPORT_CTMsgEditorFlags(const TMsgEditorFlags &aFlags)

Copy constructor.

Parameters

const TMsgEditorFlags & aFlags

TMsgEditorFlags(TUint32)

IMPORT_CTMsgEditorFlags(TUint32aMask)

Constructor.

Parameters

TUint32 aMask

Member Functions Documentation

Clear(TUint32)

IMPORT_C voidClear(TUint32aMask)

Clears given flags.

Parameters

TUint32 aMask

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Write flags into given stream.

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Read flags from given stream.

Parameters

RReadStream & aStream

IsSet(TUint32)

IMPORT_C TBoolIsSet(TUint32aMask)const

Returns ETrue, if all flags defined in aFlag parameter are set.

Parameters

TUint32 aMask

Set(TUint32)

IMPORT_C voidSet(TUint32aMask)

Sets the given flags (several flags may be set at the same time).

Parameters

TUint32 aMask

operator=(const TMsgEditorFlags &)

IMPORT_C TMsgEditorFlags &operator=(const TMsgEditorFlags &aFlags)

Assignment operator.

Parameters

const TMsgEditorFlags & aFlags

Member Data Documentation

TUint32 iFlags

TUint32 iFlags[private]