0.07.4
C++ Open Travel Request Parsing Library
|
|
Go to the documentation of this file. 1 #ifndef __OPENTREP_BOM_SCOREBOARD_HPP
2 #define __OPENTREP_BOM_SCOREBOARD_HPP
28 typedef std::map<ScoreType::EN_ScoreType, Score_T>
ScoreMap_T;
67 _queryString = iQueryString;
126 void toStream (std::ostream&)
const;
187 #endif // __OPENTREP_BOM_SCOREBOARD_HPP
std::string TravelQuery_T
Structure holding a board for all the types of score/matching having been performed.
const TravelQuery_T & getQueryString() const
void setCombinedWeight(const Score_T &iScore)
Enumeration of score types.
void setQueryString(const TravelQuery_T &iQueryString)
std::string describeKey() const
std::string describe() const
ScoreBoard(const TravelQuery_T &, const ScoreType &, const Score_T &)
Percentage_T calculateCombinedWeight()
void toStream(std::ostream &) const
std::map< ScoreType::EN_ScoreType, Score_T > ScoreMap_T
Base class for the light structures.
Score_T getCombinedWeight() const
void fromStream(std::istream &)
void setScore(const ScoreType &, const Score_T &)
const ScoreMap_T & getScoreMap() const
Score_T getScore(const ScoreType &) const