|
Inflection
Morphology Inflection
|
A FormattableObject wrapper that carries an inflection SemanticFeatureConceptBase (a SemanticConcept or PronounConcept) through MessageFormat 2 as an argument of type UFMT_OBJECT, tagged "SemanticFeatureConcept". More...
#include <SemanticFeatureConceptArgument.hpp>
Inheritance diagram for inflection::message2::SemanticFeatureConceptArgument:Public Member Functions | |
| SemanticFeatureConceptArgument (::inflection::dialog::SemanticFeatureConceptBase *featureConcept) | |
| const ::icu::UnicodeString & | tag () const override |
| const ::inflection::dialog::SemanticFeatureConceptBase * | getConcept () const |
Static Public Attributes | |
| static constexpr char16_t | TAG [] = u"SemanticFeatureConcept" |
A FormattableObject wrapper that carries an inflection SemanticFeatureConceptBase (a SemanticConcept or PronounConcept) through MessageFormat 2 as an argument of type UFMT_OBJECT, tagged "SemanticFeatureConcept".
The SemanticFeatureModel the concept references is owned elsewhere (it is expensive to build) and must outlive this wrapper. Use ClassCastException::verifyCast on getConcept() to recover the concrete concept subclass.
Definition at line 23 of file SemanticFeatureConceptArgument.hpp.
|
explicit |
Takes ownership of the concept (a SemanticConcept or PronounConcept).
| const ::inflection::dialog::SemanticFeatureConceptBase * inflection::message2::SemanticFeatureConceptArgument::getConcept | ( | ) | const |
The carried concept; recover the concrete subclass with ClassCastException::verifyCast.
|
override |
Returns TAG.
|
staticconstexpr |
The FormattableObject::tag() value identifying this wrapper.
Definition at line 28 of file SemanticFeatureConceptArgument.hpp.