Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions inflection/src/inflection/dialog/SemanticFeature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ class INFLECTION_CLASS_API inflection::dialog::SemanticFeature
* aliased without specifying the name.
*/
virtual bool isAliased() const;
/**
* Checks if this name is less than the name of the other.
* @param other The semantic feature object to be compared with this.
* @return True if this name is less than the other, false otherwise.
*/
bool operator<(const SemanticFeature& other) const;
/**
* Returns true when both objects refer to the same semantic feature, with the same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,16 @@ class INFLECTION_CLASS_API inflection::lang::features::LanguageGrammarFeatures_G
/**
* Compares the name of this grammar category with the other..
* @param other The grammar category object to be compared with this.
* @return the value 0 if the name of the argument other is equal to the name of this; a value -1 if the name
* @return the value 0 if the name of the argument other is equal to the name of this; a value -1 if the name
* of this is lexicographically less than the name of the argument other; and a value 1 if the name
* of this is lexicographically greater than the name of the argument other.
*/
virtual int32_t compareTo(const LanguageGrammarFeatures_GrammarCategory& other) const;
/**
* Checks if this name is less than the name of the other.
* @param other The grammar category object to be compared with this.
* @return True if the name is lexicographically less than the name of the argument other, false otherwise.
*/
bool operator<(const LanguageGrammarFeatures_GrammarCategory& other) const;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ class INFLECTION_CLASS_API inflection::lang::features::LanguageGrammarFeatures_G
* of this is lexicographically greater than the name of the argument other.
*/
virtual int32_t compareTo(const LanguageGrammarFeatures_GrammarFeatures& other) const;
/**
* Checks if this name is less than the name of the other.
* @param other The grammar features object to be compared with this.
* @return True if the name is lexicographically less than the name of the argument other, false otherwise.
*/
bool operator<(const LanguageGrammarFeatures_GrammarFeatures& other) const;

protected: /* package */
Expand Down
Loading