System documentation of the GNU Image-Finding Tool

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

CRelevanceLevel Class Reference

Level of relevance given by the user to an image (URL) This structure is used both for user given relevances as well as for calculated relevances (scores). More...

#include <CRelevanceLevel.h>

List of all members.

Public Member Functions

 CRelevanceLevel ()
 just used to be able to construct emtpy elements in which to copy (STL)

 CRelevanceLevel (const string &inURL, double inRelevanceLevel)
 The constructor most frequently used.

 CRelevanceLevel (const CRelevanceLevel &inElement)
 copy constructor

bool input (istream &inStream)
 binary input

bool output (ostream &outStream) const
 binary output

bool outputHTML (ostream &outStream) const
 output as HTML

string getURL () const
 Accessors.

double getRelevanceLevel () const
void setRelevanceLevel (const double inRelevanceLevel)
void adjustRelevanceLevel (const double inRelevanceLevel)
void divideRelevanceLevelBy (const double inDivisor)
string toXML () const


Detailed Description

Level of relevance given by the user to an image (URL) This structure is used both for user given relevances as well as for calculated relevances (scores).

What do you think, folx? I think, that the relevance level as it is, is too inflexible. We need to reflect a bit more what is given by MRML. to be FIXME d


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