class DecimalMatcher : public NumberParseMatcher, public UMemory { public:
DecimalMatcher() = default; // WARNING: Leaves the object in an unusable state
// Assumption: these sets all consist of single code points. If this assumption needs to be broken, // fix getLeadCodePoints() as well as matching logic. Be careful of the performance impact. const UnicodeSet* groupingUniSet; const UnicodeSet* decimalUniSet; const UnicodeSet* separatorSet; const UnicodeSet* leadSet;
// Make this class the owner of a few objects that could be allocated. // The first three LocalPointers are used for assigning ownership only.
LocalPointer<const UnicodeSet> fLocalDecimalUniSet;
LocalPointer<const UnicodeSet> fLocalSeparatorSet;
LocalArray<const UnicodeString> fLocalDigitStrings;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.