Inflection
Morphology Inflection
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
inflection::dialog::SemanticFeatureModel_DisplayData Class Reference

Provides a mapping between constraints and their corresponding SemanticValue. More...

#include <SemanticFeatureModel_DisplayData.hpp>

+ Inheritance diagram for inflection::dialog::SemanticFeatureModel_DisplayData:

Public Member Functions

const ::std::vector<::inflection::dialog::DisplayValue > & getValues () const
 
std::size_t operator() (const inflection::dialog::SemanticFeatureModel_DisplayData &displayData) const noexcept
 
bool operator== (const SemanticFeatureModel_DisplayData &o) const
 
 SemanticFeatureModel_DisplayData (const ::std::vector<::inflection::dialog::DisplayValue > &displayValues)
 
 ~SemanticFeatureModel_DisplayData () override
 
- Public Member Functions inherited from inflection::Object
virtual ::std::u16string toString () const
 
virtual ~Object ()
 

Friends

class SemanticFeatureModel
 
class DisplayValue
 

Detailed Description

Provides a mapping between constraints and their corresponding SemanticValue.

Definition at line 18 of file SemanticFeatureModel_DisplayData.hpp.

Constructor & Destructor Documentation

◆ SemanticFeatureModel_DisplayData()

inflection::dialog::SemanticFeatureModel_DisplayData::SemanticFeatureModel_DisplayData ( const ::std::vector<::inflection::dialog::DisplayValue > &  displayValues)
explicit

Construct the display data with all of the known display values. Typically the first display value is shown that matches the desired semantic features.

◆ ~SemanticFeatureModel_DisplayData()

inflection::dialog::SemanticFeatureModel_DisplayData::~SemanticFeatureModel_DisplayData ( )
override

The destructor

Member Function Documentation

◆ getValues()

const ::std::vector<::inflection::dialog::DisplayValue > & inflection::dialog::SemanticFeatureModel_DisplayData::getValues ( ) const

Returns all of the display values regardless of any constraints of a semantic features.

◆ operator()()

std::size_t inflection::dialog::SemanticFeatureModel_DisplayData::operator() ( const inflection::dialog::SemanticFeatureModel_DisplayData displayData) const
noexcept

Generates a hash code compatible with std::hash for the displayData.

Parameters
displayDataThe display data object to generate the hash value.
Returns
the hash code compatible with std::hash for the displayData.

◆ operator==()

bool inflection::dialog::SemanticFeatureModel_DisplayData::operator== ( const SemanticFeatureModel_DisplayData o) const

Returns true when both objects refer to the same display data, have the same mapping between constraints and their corresponding SemanticValue.

Parameters
oThe display data object to be compared with this.
Returns
True if the two display data are the same, false otherwise.

Friends And Related Symbol Documentation

◆ DisplayValue

friend class DisplayValue
friend

Definition at line 58 of file SemanticFeatureModel_DisplayData.hpp.

◆ SemanticFeatureModel

friend class SemanticFeatureModel
friend

Definition at line 57 of file SemanticFeatureModel_DisplayData.hpp.


The documentation for this class was generated from the following file: