CRelevanceLevel Class

# CRelevanceLevel Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

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 <../libInvertedFile/include/CRelevanceLevel.h>`

## Public Members

- CRelevanceLevel ()
- CRelevanceLevel (const string& inURL, double inRelevanceLevel)
- CRelevanceLevel (const CRelevanceLevel& inElement)
- bool input (istream& inStream)
- bool output (ostream& outStream)
- bool outputHTML (ostream& outStream)
- string getURL ()
- double getRelevanceLevel ()
- void setRelevanceLevel (const double inRelevanceLevel)
- void adjustRelevanceLevel (const double inRelevanceLevel)
- void divideRelevanceLevelBy (const double inDivisor)
- string toXML ()

## 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

## 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)

binary output

## bool outputHTML(ostream& outStream)

output as HTML

## string getURL()

Accessors

Author: Wolfgang Mueller Documentation generated by muellerw@pc7170 on Son Okt 8 16:04:40 CEST 2000 | Kdoc