|
presage 0.8.7
|
#include <defaultProfile.h>


Public Member Functions | |
| DefaultProfile (const std::string &filename) | |
| ~DefaultProfile () | |
Static Public Attributes | |
| static const char * | DEFAULT_PROFILE_FILENAME = "presage.xml" |
| static const std::string | DEFAULT_LOGGER_LEVEL = "DEBUG" |
| static const int | DEFAULT_PREDICT_TIME = 1000 |
| static const int | DEFAULT_MAX_PARTIAL_PREDICTION_SIZE = 100 |
| static const std::string | DEFAULT_COMBINATION_POLICY = "Meritocracy" |
| static const std::string | DEFAULT_PREDICTIVE_PREDICTORS |
| static const int | DEFAULT_SLIDING_WINDOW_SIZE = 80 |
| static const size_t | DEFAULT_SUGGESTIONS = 6 |
| static const bool | DEFAULT_REPEAT_SUGGESTION = false |
| static const size_t | DEFAULT_GREEDY_SUGGESTION_THRESHOLD = 0 |
| static const std::string | DEFAULT_PREDICTORS = "RecencyPredictor" |
| static const char * | DEFAULT_AUTOPERSIST = "false" |
Private Member Functions | |
| void | build_xml_document (const std::string &) |
Default profile.
Definition at line 33 of file defaultProfile.h.
| DefaultProfile::DefaultProfile | ( | const std::string & | filename | ) |
Profile constructor.
| filename | where profile is saved to |
Definition at line 43 of file defaultProfile.cpp.
References build_xml_document().

| DefaultProfile::~DefaultProfile | ( | ) |
Profile destructor.
Destructor deallocates the Configuration object passed in costructor.
Definition at line 49 of file defaultProfile.cpp.
| void DefaultProfile::build_xml_document | ( | const std::string & | filename | ) | [private] |
Definition at line 54 of file defaultProfile.cpp.
References Profile::xmlProfileDoc.
Referenced by DefaultProfile().

const char * DefaultProfile::DEFAULT_AUTOPERSIST = "false" [static] |
Definition at line 59 of file defaultProfile.h.
const std::string DefaultProfile::DEFAULT_COMBINATION_POLICY = "Meritocracy" [static] |
Definition at line 52 of file defaultProfile.h.
const size_t DefaultProfile::DEFAULT_GREEDY_SUGGESTION_THRESHOLD = 0 [static] |
Definition at line 57 of file defaultProfile.h.
const std::string DefaultProfile::DEFAULT_LOGGER_LEVEL = "DEBUG" [static] |
Definition at line 49 of file defaultProfile.h.
const int DefaultProfile::DEFAULT_MAX_PARTIAL_PREDICTION_SIZE = 100 [static] |
Definition at line 51 of file defaultProfile.h.
const int DefaultProfile::DEFAULT_PREDICT_TIME = 1000 [static] |
Definition at line 50 of file defaultProfile.h.
const std::string DefaultProfile::DEFAULT_PREDICTIVE_PREDICTORS [static] |
Definition at line 53 of file defaultProfile.h.
const std::string DefaultProfile::DEFAULT_PREDICTORS = "RecencyPredictor" [static] |
Definition at line 58 of file defaultProfile.h.
const char * DefaultProfile::DEFAULT_PROFILE_FILENAME = "presage.xml" [static] |
Definition at line 48 of file defaultProfile.h.
Referenced by ProfileManager::init_profiles().
const bool DefaultProfile::DEFAULT_REPEAT_SUGGESTION = false [static] |
Definition at line 56 of file defaultProfile.h.
const int DefaultProfile::DEFAULT_SLIDING_WINDOW_SIZE = 80 [static] |
Definition at line 54 of file defaultProfile.h.
const size_t DefaultProfile::DEFAULT_SUGGESTIONS = 6 [static] |
Definition at line 55 of file defaultProfile.h.
1.7.4