// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* * Copyright (C) 2001-2005, International Business Machines Corporation and others. All Rights Reserved. ********************************************************************** * Date Name Description * 07/18/01 aliu Creation. ********************************************************************** */ #ifndef UNIMATCH_H #define UNIMATCH_H #include "unicode/utypes.h" /** * \file * \brief C++ API: Unicode Matcher */ #if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN class Replaceable; class UnicodeString; class UnicodeSet; /** * Constants returned by <code>UnicodeMatcher::matches()</code> * indicating the degree of match. * @stable ICU 2.4 */ enum UMatchDegree { … }; /** * <code>UnicodeMatcher</code> defines a protocol for objects that can * match a range of characters in a Replaceable string. * @stable ICU 2.4 */ class U_COMMON_API UnicodeMatcher /* not : public UObject because this is an interface/mixin class */ { … }; U_NAMESPACE_END #endif /* U_SHOW_CPLUSPLUS_API */ #endif