Inflection
Morphology Inflection
Loading...
Searching...
No Matches
build
inflection_headers
inflection
lang
features
LanguageGrammarFeatures_Feature.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 <string>
9
#include <map>
10
18
class
INFLECTION_CLASS_API
inflection
::
lang::features::LanguageGrammarFeatures_Feature
19
:
public
virtual
::inflection::Object
20
{
21
public
:
23
typedef
::inflection::Object
super;
25
26
private
:
27
std::u16string value { };
28
std::map<std::u16string, std::u16string> constraints { };
29
30
public
:
34
virtual
std::u16string
getValue
()
const
;
38
virtual
std::map<std::u16string, std::u16string>
getConstraints
()
const
;
39
40
public
:
/* package */
48
LanguageGrammarFeatures_Feature
(
const
std::u16string& value,
const
std::map<std::u16string, std::u16string>& constraints);
52
~LanguageGrammarFeatures_Feature
()
override
;
53
54
private
:
55
friend
class
LanguageGrammarFeatures;
56
friend
class
LanguageGrammarFeatures_GrammarCategory;
57
friend
class
LanguageGrammarFeatures_GrammarFeatures;
58
};
inflection::Object
Inflection's root object.
Definition
Object.hpp:14
inflection::lang::features::LanguageGrammarFeatures_Feature
A single feature value with a set of constraints for when the value is valid.
Definition
LanguageGrammarFeatures_Feature.hpp:20
inflection::lang::features::LanguageGrammarFeatures_Feature::LanguageGrammarFeatures_Feature
LanguageGrammarFeatures_Feature(const std::u16string &value, const std::map< std::u16string, std::u16string > &constraints)
inflection::lang::features::LanguageGrammarFeatures_Feature::getConstraints
virtual std::map< std::u16string, std::u16string > getConstraints() const
inflection::lang::features::LanguageGrammarFeatures_Feature::getValue
virtual std::u16string getValue() const
inflection::lang::features::LanguageGrammarFeatures_Feature::~LanguageGrammarFeatures_Feature
~LanguageGrammarFeatures_Feature() override
inflection
The C++ namespace for Inflection.
Definition
fwd.hpp:11
Generated on
for Inflection by
1.15.0