CParserPropertyValueBinaryFile Class Reference

#include <app/vprop.h>

Link against: versit.lib

class CParserPropertyValueBinaryFile : public CParserPropertyValueBinary

Inherits from

Public Member Functions
~CParserPropertyValueBinaryFile()
virtual voidExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt)
IMPORT_C CParserPropertyValueBinaryFile *NewL(const RFile &)
Inherited Attributes
CParserPropertyValueBinary::iValue
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CParserPropertyValue::Append(TDes16 &,TDesC8 &)
CParserPropertyValue::CParserPropertyValue(const TUid &)
CParserPropertyValue::EncodeL(CBufBase *,const TDesC8 &,const TUid &)const
CParserPropertyValue::FoldAndWriteValueToStreamL(RWriteStream &,const TDesC &,const Versit::TEncodingAndCharset &,TInt &)const
CParserPropertyValue::FoldEncodeAndWriteValueToStreamL(RWriteStream &,const CDesCArray *,const Versit::TEncodingAndCharset &,TInt &)const
CParserPropertyValue::FoldEncodeAndWriteValueToStreamL(RWriteStream &,const TDesC &,const Versit::TEncodingAndCharset &,TInt &)const
CParserPropertyValue::IsAsciiCharacterSetSufficient()
CParserPropertyValue::PlugIn()
CParserPropertyValue::SetPlugIn(MVersitPlugIn *)
CParserPropertyValue::SupportsInterface(const TUid &)const
CParserPropertyValue::Uid()const
CParserPropertyValueBinary::CParserPropertyValueBinary()
CParserPropertyValueBinary::CParserPropertyValueBinary(CBufSeg &)
CParserPropertyValueBinary::ConstructL(const TDesC8 &)
CParserPropertyValueBinary::ExternalizeL(RWriteStream &,const Versit::TEncodingAndCharset &,TInt,RReadStream &)
CParserPropertyValueBinary::NewL(const TDesC8 &)
CParserPropertyValueBinary::NewLC(const TDesC8 &)
CParserPropertyValueBinary::Value()const
CParserPropertyValueBinary::~CParserPropertyValueBinary()

Detailed Description

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.

Constructor & Destructor Documentation

~CParserPropertyValueBinaryFile ( )

IMPORT_C~CParserPropertyValueBinaryFile()

Frees all resources owned by the property value, prior to its destruction.

Member Function Documentation

ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt )

voidExternalizeL(RWriteStream &aStream,
const Versit::TEncodingAndCharset &aEncodingCharset,
TIntaLengthOutput
)[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).

ParameterDescription
aStreamStream into which the value is to be externalized.
aEncodingCharsetSpecifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding.
aLengthOutputThe amount of text that has been output so far on the line (for the property name).

NewL ( const RFile & )

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.

ParameterDescription
aFileHandleThe file handle to the binary data.

Returns: Pointer to the newly created file property value.