Class TermSelection¶
Defined in File state.h
Class Documentation¶
-
class TermSelection¶
Sparse term selection.
Unmentioned terms have treatment
all, leaving contributors free to add their complete residual for now.Public Functions
-
inline TermSelection &set(const std::string &term, const TermTreatment treatment)¶
-
inline TermSelection &include(const std::string &term)¶
-
inline TermSelection &exclude(const std::string &term)¶
-
inline bool contains(const std::string &term) const¶
-
inline TermTreatment treatment(const std::string &term) const¶
-
inline bool includes(const std::string &term, const TermTreatment requested) const¶
Public Static Functions
-
static inline TermSelection all()¶
-
static inline TermSelection none()¶
-
static inline TermSelection only(const std::string &term)¶
-
inline TermSelection &set(const std::string &term, const TermTreatment treatment)¶