TVPbkFieldTypeMapping Class Reference

class TVPbkFieldTypeMapping

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. VPbkFieldType.rh VPbkEng.lib

Constructor & Destructor Documentation

TVPbkFieldTypeMapping(TResourceReader &)

IMPORT_CTVPbkFieldTypeMapping(TResourceReader &aReader)

Constructs this object from a VPBK_FIELD_TYPE_MAPPING resource.

Parameters

TResourceReader & aReaderA resource reader to VPBK_FIELD_TYPE_MAPPING that is defined in VPbkFieldType.rh.

TVPbkFieldTypeMapping()

IMPORT_CTVPbkFieldTypeMapping()

Constructs an empty mapping.

Member Functions Documentation

FindMatch(const MVPbkFieldTypeList &)

IMPORT_C const MVPbkFieldType *FindMatch(const MVPbkFieldTypeList &aFieldTypeList)const

Returns a field type that matches this type mapping or NULL.

Parameters

const MVPbkFieldTypeList & aFieldTypeListA field type list that is for searching.

SetNonVersitType(TVPbkNonVersitFieldType)

IMPORT_C voidSetNonVersitType(TVPbkNonVersitFieldTypeaNonVersitType)

Sets the non-Versit type of this field type mapping.

Parameters

TVPbkNonVersitFieldType aNonVersitTypeA new non-Versit type.

SetVersitProperty(TVPbkFieldVersitProperty)

IMPORT_C voidSetVersitProperty(TVPbkFieldVersitPropertyaVersitProperty)

Sets the Versit property of this field type mapping.

Parameters

TVPbkFieldVersitProperty aVersitPropertyA new Versit property for the mapping.

Member Data Documentation

TVPbkNonVersitFieldType iNonVersitType

TVPbkNonVersitFieldType iNonVersitType[private]

TAny * iSpare

TAny *iSpare[private]

TVPbkFieldVersitProperty iVersitProperty

TVPbkFieldVersitProperty iVersitProperty[private]