Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: cnode.h

Class CFileDataDelete

class CFileDataDelete : public CDataNoDelete;

Description

Provides a wrapper around a filename: the referenced file is deleted when the object is deleted.

Derivation

Members

Defined in CFileDataDelete:
CFileDataDelete(), ResetDataPointer(), ~CFileDataDelete()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CDataNoDelete:
Data(), SetData(), iData


Construction and destruction


CFileDataDelete()

inline CFileDataDelete(HBufC16 *aData);

Description

Constructor.

Parameters

HBufC16 *aData

Buffer to wrap


~CFileDataDelete()

inline virtual ~CFileDataDelete();

Description

Destructor.

It deletes the filename buffer and the file itself.

[Top]


Member functions


ResetDataPointer()

inline virtual void ResetDataPointer(HBufC16 *aData);

Description

Sets the filename that is wrapped.

The existing filename buffer and the file itself are deleted.

Parameters

HBufC16 *aData

Buffer to wrap