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_C TVPbkFieldTypeMapping ( TResourceReader & aReader )

Constructs this object from a VPBK_FIELD_TYPE_MAPPING resource.

Parameters

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

TVPbkFieldTypeMapping()

IMPORT_C TVPbkFieldTypeMapping ( )

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 & aFieldTypeList A field type list that is for searching.

SetNonVersitType(TVPbkNonVersitFieldType)

IMPORT_C void SetNonVersitType ( TVPbkNonVersitFieldType aNonVersitType )

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

Parameters

TVPbkNonVersitFieldType aNonVersitType A new non-Versit type.

SetVersitProperty(TVPbkFieldVersitProperty)

IMPORT_C void SetVersitProperty ( TVPbkFieldVersitProperty aVersitProperty )

Sets the Versit property of this field type mapping.

Parameters

TVPbkFieldVersitProperty aVersitProperty A new Versit property for the mapping.

Member Data Documentation

TVPbkNonVersitFieldType iNonVersitType

TVPbkNonVersitFieldType iNonVersitType [private]

TAny * iSpare

TAny * iSpare [private]

TVPbkFieldVersitProperty iVersitProperty

TVPbkFieldVersitProperty iVersitProperty [private]