Factories::MFactoryQuery Class Reference

class Factories::MFactoryQuery

Abstract class used as a parameter for CFactoryBase::FindObject . Implements the Match method that derivees must override to implement their own Match method to compare AFactoryObjects

CFactoryBase::FindObject

Public Member Functions
TMatchResult Match ( TFactoryObjectInfo &)
Public Member Enumerations
enum TMatchResult { EMatch , EContinue , ECancel }

Member Functions Documentation

Match(TFactoryObjectInfo &)

TMatchResult Match ( TFactoryObjectInfo & aObjectInfo ) [pure virtual]

Compare this factory object with another factory object. TMatchResult

Parameters

TFactoryObjectInfo & aObjectInfo Object to compare parameters against. Criteria for comparison is implementation specific.

Member Enumerations Documentation

Enum TMatchResult

Possible return to the match function. They specify what the object doing the search should do next.

Enumerators

EMatch

Match found, stop searching

EContinue

No match found, continue searching

ECancel

No match found, stop searching