Location:
S32FILE.H
Link against: estor.lib
class RFileWriteStream : public RWriteStream;
Supports the writing of a stream to a file.
RWriteStream
- The write stream interface
RFileWriteStream
- Supports the writing of a stream to a file
Defined in RFileWriteStream
:
Attach()
, Create()
, Open()
, RFileWriteStream()
, RFileWriteStream()
, RFileWriteStream()
, Replace()
, Temp()
Inherited from RWriteStream
:
Close()
,
CommitL()
,
Detach()
,
Pop()
,
PushL()
,
Release()
,
Sink()
,
WriteInt16L()
,
WriteInt32L()
,
WriteInt8L()
,
WriteL()
,
WriteReal32L()
,
WriteReal64L()
,
WriteUint16L()
,
WriteUint32L()
,
WriteUint8L()
inline RFileWriteStream(const MExternalizer< TStreamRef > &anExter);
|
IMPORT_C RFileWriteStream(RFile &aFile, TInt aPos=0);
Constructs the write stream object, associates it with an already opened file, and prepares the stream for writing.
|
IMPORT_C TInt Open(RFs &aFs, const TDesC &aName, TUint aFileMode);
Opens a file containing a stream and prepares the stream for writing.
The stream will be written to offset zero in the file.
|
|
IMPORT_C TInt Create(RFs &aFs, const TDesC &aName, TUint aFileMode);
Creates a new file, associates it with this stream, and prepares the stream for writing.
The stream will be written to offset zero in the file.
|
|
IMPORT_C TInt Replace(RFs &aFs, const TDesC &aName, TUint aFileMode);
Creates a new file, associates the file with this stream, and prepares the stream for writing.
The file replaces any existing file of the same name.
The stream will be written to offset zero in the file.
|
|
IMPORT_C TInt Temp(RFs &aFs, const TDesC &aPath, TFileName &aName, TUint aFileMode);
Creates a temporary file, associates it with this stream, and prepares the stream for writing.
The new file is created in the specified path and a unique file name is generated by the file server.
Note that the store framework does not delete a temporary file after it is closed.
The stream will be written to offset zero in the file.
|
|