Inflection
Morphology Inflection
Loading...
Searching...
No Matches
LanguageGrammarFeatures_GrammarFeatures.hpp
1/*
2 * Copyright 2016-2024 Apple Inc. All rights reserved.
3 */
4#pragma once
5
6#include <inflection/lang/features/fwd.hpp>
7#include <inflection/Object.hpp>
8#include <inflection/lang/features/LanguageGrammarFeatures_Feature.hpp>
9#include <string>
10#include <vector>
11
20 : public virtual inflection::Object
21{
22public:
24 typedef ::inflection::Object super;
26
27private:
28 std::u16string name { };
29 std::vector<::inflection::lang::features::LanguageGrammarFeatures_Feature> values { };
30
31public:
35 std::u16string getName() const;
39 std::vector<::inflection::lang::features::LanguageGrammarFeatures_Feature> getValues() const;
44 std::weak_ordering operator<=>(const LanguageGrammarFeatures_GrammarFeatures& other) const;
45
46protected: /* package */
52 LanguageGrammarFeatures_GrammarFeatures(const std::u16string& name, const std::vector<::inflection::lang::features::LanguageGrammarFeatures_Feature>& values);
53public:
58
59private:
60 friend class LanguageGrammarFeatures;
61};
Inflection's root object.
Definition Object.hpp:14
std::vector<::inflection::lang::features::LanguageGrammarFeatures_Feature > getValues() const
LanguageGrammarFeatures_GrammarFeatures(const std::u16string &name, const std::vector<::inflection::lang::features::LanguageGrammarFeatures_Feature > &values)
std::weak_ordering operator<=>(const LanguageGrammarFeatures_GrammarFeatures &other) const
This class provides information about semantic features and grammatical categories used for the class...
The C++ namespace for Inflection.
Definition fwd.hpp:11