#include <app/TVPbkFieldTypeMapping.h>
class TVPbkFieldTypeMapping |
Public Member Functions | |
---|---|
TVPbkFieldTypeMapping(TResourceReader &) | |
TVPbkFieldTypeMapping() | |
IMPORT_C const MVPbkFieldType * | FindMatch(const MVPbkFieldTypeList &) |
IMPORT_C void | SetNonVersitType(TVPbkNonVersitFieldType) |
IMPORT_C void | SetVersitProperty(TVPbkFieldVersitProperty) |
A helper class for mapping field types to Versit or non-Versit types.
Can be used also for finding a field type from a field type list.
See also: VPbkFieldType.rh
IMPORT_C | TVPbkFieldTypeMapping | ( | TResourceReader & | aReader | ) |
Constructs this object from a VPBK_FIELD_TYPE_MAPPING resource.
Parameter | Description |
---|---|
aReader | A resource reader to VPBK_FIELD_TYPE_MAPPING that is defined in VPbkFieldType.rh. |
IMPORT_C const MVPbkFieldType * | FindMatch | ( | const MVPbkFieldTypeList & | aFieldTypeList | ) | const |
Returns a field type that matches this type mapping or NULL.
Parameter | Description |
---|---|
aFieldTypeList | A field type list that is for searching. |
Returns: A matched field type or NULL.
IMPORT_C void | SetNonVersitType | ( | TVPbkNonVersitFieldType | aNonVersitType | ) |
Sets the non-Versit type of this field type mapping.
Parameter | Description |
---|---|
aNonVersitType | A new non-Versit type. |
IMPORT_C void | SetVersitProperty | ( | TVPbkFieldVersitProperty | aVersitProperty | ) |
Sets the Versit property of this field type mapping.
Parameter | Description |
---|---|
aVersitProperty | A new Versit property for the mapping. |