Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:

Inherited from CDataNoDelete:


Construction and destruction


CFileDataDelete(HBufC16 *)

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(HBufC16 *)

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