#include <app/TVPbkFieldVersitProperty.h>
| class TVPbkFieldVersitProperty |
| 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() |
A basic field Versit property.
The structure of Versit property is defined in VBK_FIELD_VERSIT_PROPERTY in VPbkFieldType.rh.
See also: MVPbkFieldType MVPbkFieldType::Matches
| 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.
| Parameter | Description |
|---|---|
| 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.
| Parameter | Description |
|---|---|
| aOther | Another property that is matched to this property. |
| TVPbkFieldTypeName | Name | ( | ) | const [inline] |
Returns the Versit property name.
Returns: The Versit property name.
| const TVPbkFieldTypeParameters & | Parameters | ( | ) | const [inline] |
Returns the Versit property parameters (read-only).
Returns: The Versit property parameters (read-only).
| TVPbkFieldTypeParameters & | Parameters | ( | ) | [inline] |
Returns the Versit property parameters (read-write).
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.
| Parameter | Description |
|---|---|
| aResReader | A reader to the VBK_FIELD_VERSIT_PROPERTY resource. |
| void | SetName | ( | TVPbkFieldTypeName | aName | ) | [inline] |
Sets the Versit property name.
| Parameter | Description |
|---|---|
| aName | The name that is set to this property. |
| void | SetParameters | ( | const TVPbkFieldTypeParameters & | aParameters | ) | [inline] |
Sets the Versit property parameters.
| Parameter | Description |
|---|---|
| aParameters | Parameters that are set to this property. |
| void | SetSubField | ( | TVPbkSubFieldType | aSubField | ) | [inline] |
Sets the Versit property subfield.
| Parameter | Description |
|---|---|
| aSubField | The sub field that is set to this property. |
| TVPbkSubFieldType | SubField | ( | ) | const [inline] |
Returns the Versit property subfield.
Returns: The Versit property subfield.