System documentation of the GNU Image-Finding Tool

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class 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 ()
 CRelevanceLevel (const string &inURL, double inRelevanceLevel)
 CRelevanceLevel (const CRelevanceLevel &inElement)
bool input (istream &inStream)
bool output (ostream &outStream) const
bool outputHTML (ostream &outStream) const
string getURL () const
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


Constructor & Destructor Documentation

CRelevanceLevel::CRelevanceLevel  ) 
 

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

CRelevanceLevel::CRelevanceLevel const string &  inURL,
double  inRelevanceLevel
 

The constructor most frequently used.

CRelevanceLevel::CRelevanceLevel const CRelevanceLevel inElement  ) 
 

copy constructor


Member Function Documentation

string CRelevanceLevel::getURL  )  const
 

Accessors

bool CRelevanceLevel::input istream &  inStream  ) 
 

binary input

bool CRelevanceLevel::output ostream &  outStream  )  const
 

binary output

bool CRelevanceLevel::outputHTML ostream &  outStream  )  const
 

output as HTML


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