6#include <inflection/dialog/fwd.hpp>
7#include <inflection/dialog/SemanticFeature.hpp>
8#include <inflection/Object.hpp>
27 ::std::u16string displayString { };
28 ::std::map<SemanticFeature, ::std::u16string> constraintMap { };
44 virtual const ::std::map<::inflection::dialog::SemanticFeature, ::std::u16string>&
getConstraintMap()
const;
63 DisplayValue(const ::std::u16string& displayString, const ::std::map<SemanticFeature, ::std::u16string>& constraintMap);
Inflection's root object.
Represents a display value with constraint values.
std::size_t operator()(const DisplayValue &displayValue) const noexcept
DisplayValue(const SpeakableString &value, const SemanticFeature &speakFeature)
bool operator==(const DisplayValue &o) const
virtual const ::std::u16string & getDisplayString() const
virtual const ::std::u16string * getFeatureValue(const SemanticFeature &feature) const
virtual const ::std::map<::inflection::dialog::SemanticFeature, ::std::u16string > & getConstraintMap() const
DisplayValue(const ::std::u16string &displayString, const ::std::map< SemanticFeature, ::std::u16string > &constraintMap)
DisplayValue(const ::std::u16string &value)
A semantic model that contains display data for semantic values and provides feature functions for de...
Represents a single semantic feature.
Represents a string with both a spoken and written representation.
The C++ namespace for Inflection.