#include <app/vprop.h>
class CParserPropertyValueBinaryFile : public CParserPropertyValueBinary |
Public Member Functions | |
---|---|
~CParserPropertyValueBinaryFile() | |
virtual void | ExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt) |
IMPORT_C CParserPropertyValueBinaryFile * | NewL(const RFile &) |
Inherited Attributes | |
---|---|
CParserPropertyValueBinary::iValue |
A file property value parser.
It is used to store a file handle so that the binary data can be read through the handle when exporting. It is not used when importing. The UID for a binary property value is KVersitPropertyBinaryUid.
IMPORT_C | ~CParserPropertyValueBinaryFile | ( | ) |
Frees all resources owned by the property value, prior to its destruction.
void | ExternalizeL | ( | RWriteStream & | aStream, |
const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
TInt | aLengthOutput | |||
) | [virtual] |
Reimplemented from CParserPropertyValueBinary::ExternalizeL(RWriteStream &,const Versit::TEncodingAndCharset &,TInt)
Externalises the binary data through the file handle into aStream.
Uses the encoding format specified in aEncodingCharset. (Any character set specified in aEncodingCharset is not used).
Parameter | Description |
---|---|
aStream | Stream into which the value is to be externalized. |
aEncodingCharset | Specifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding. |
aLengthOutput | The amount of text that has been output so far on the line (for the property name). |
IMPORT_C CParserPropertyValueBinaryFile * | NewL | ( | const RFile & | aFileHandle | ) | [static] |
Allocates and constructs a new file property value with the file handle to the data.
The property value's UID will be set to KVersitPropertyBinaryUid.
Parameter | Description |
---|---|
aFileHandle | The file handle to the binary data. |
Returns: Pointer to the newly created file property value.