class TVPbkFieldVersitProperty |
A basic field Versit property.
The structure of Versit property is defined in VBK_FIELD_VERSIT_PROPERTY in VPbkFieldType.rh.
MVPbkFieldType MVPbkFieldType::Matches VPbkEng.lib
Public Member Functions | |
---|---|
TVPbkFieldVersitProperty () | |
TVPbkFieldVersitProperty ( TResourceReader &) | |
TPtrC8 | ExtensionName () |
IMPORT_C TBool | Matches (const TVPbkFieldVersitProperty &) |
TVPbkFieldTypeName | Name () |
const TVPbkFieldTypeParameters & | Parameters () |
TVPbkFieldTypeParameters & | Parameters () |
IMPORT_C void | ReadFromResource ( TResourceReader &) |
void | SetExtensionName (const TDesC8 &) |
void | SetName ( TVPbkFieldTypeName ) |
void | SetParameters (const TVPbkFieldTypeParameters &) |
void | SetSubField ( TVPbkSubFieldType ) |
TVPbkSubFieldType | SubField () |
Private Attributes | |
---|---|
TVPbkFieldVersitPropertyExt * | iExtension |
TPtrC8 | iExtensionName |
TVPbkFieldTypeName | iName |
TVPbkFieldTypeParameters | iParameters |
TVPbkSubFieldType | iSubField |
IMPORT_C | TVPbkFieldVersitProperty | ( | ) |
Default constructor. Resets all fields to null values.
IMPORT_C | TVPbkFieldVersitProperty | ( | TResourceReader & | aResReader | ) |
Constructs this object from a VBK_FIELD_VERSIT_PROPERTY resource.
Sets also the Versit extension name. Only a reference to the extension name is stored so the client must either keep the resource buffer alive or make a copy of the extension name and use SetExtensionName. The reference must be valid for the lifetime of this object.
TResourceReader & aResReader | A reader to the VBK_FIELD_VERSIT_PROPERTY resource. |
IMPORT_C TBool | Matches | ( | const TVPbkFieldVersitProperty & | aOther | ) | const |
Returns true if this versit property matches aOther.
If aOther matches this property it doesn't necessary mean that this property will match to aOther.
const TVPbkFieldVersitProperty & aOther | Another property that is matched to this property. |
const TVPbkFieldTypeParameters & | Parameters | ( | ) | const [inline] |
Returns the Versit property parameters (read-only).
TVPbkFieldTypeParameters & | Parameters | ( | ) | [inline] |
Returns the Versit property parameters (read-write).
IMPORT_C void | ReadFromResource | ( | TResourceReader & | aResReader | ) |
Reads this object's contents from a VBK_FIELD_VERSIT_PROPERTY resource.
Sets also the Versit extension name. Only a reference to the extension name is stored so the client must either keep the resource buffer alive or make a copy of the extension name and use SetExtensionName. The reference must be valid for the lifetime of this object.
TResourceReader & aResReader | A reader to the VBK_FIELD_VERSIT_PROPERTY resource. |
void | SetExtensionName | ( | const TDesC8 & | aExtensionName | ) | [inline] |
Sets the Versit extension name.
Only a reference to the name is stored. The reference must be valid for the lifetime of this object.
const TDesC8 & aExtensionName | The extension name reference that is set to this property. |
void | SetName | ( | TVPbkFieldTypeName | aName | ) | [inline] |
Sets the Versit property name.
TVPbkFieldTypeName aName | The name that is set to this property. |
void | SetParameters | ( | const TVPbkFieldTypeParameters & | aParameters | ) | [inline] |
Sets the Versit property parameters.
const TVPbkFieldTypeParameters & aParameters | Parameters that are set to this property. |
void | SetSubField | ( | TVPbkSubFieldType | aSubField | ) | [inline] |
Sets the Versit property subfield.
TVPbkSubFieldType aSubField | The sub field that is set to this property. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.