System documentation of the GNU Image-Finding Tool

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CWeighterFactory Class Reference

A factory for weighting functions with associated normalizers. More...

#include <CQInvertedFile.h>

List of all members.

Public Member Functions

CWeighternewWeighter (const string &inID) const
 clones a weighter from the factory and sets the pointers in a way, that normalizers etc.
 CWeighterFactory ()
 constructor: initializes everything fills the map etc.
 ~CWeighterFactory ()
 Destructor deletes the content it points to.


Detailed Description

A factory for weighting functions with associated normalizers.

The weighting functions are intended to be members of CQInvertedFile where they will be used.


Member Function Documentation

CWeighter* CWeighterFactory::newWeighter const string &  inID  )  const
 

clones a weighter from the factory and sets the pointers in a way, that normalizers etc.

are pointing in the right way to each other.

However, you still have to set the accessor Why not set it at once? Maybe.


The documentation for this class was generated from the following file:
Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen