// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * Copyright (C) 2010-2014, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * collationiterator.h * * created on: 2010oct27 * created by: Markus W. Scherer */ #ifndef __COLLATIONITERATOR_H__ #define __COLLATIONITERATOR_H__ #include "unicode/utypes.h" #if !UCONFIG_NO_COLLATION #include "cmemory.h" #include "collation.h" #include "collationdata.h" U_NAMESPACE_BEGIN class SkippedState; class UCharsTrie; class UVector32; /* Large enough for CEs of most short strings. */ #define CEBUFFER_INITIAL_CAPACITY … // Export an explicit template instantiation of the MaybeStackArray that // is used as a data member of CEBuffer. // // When building DLLs for Windows this is required even though // no direct access to the MaybeStackArray leaks out of the i18n library. // // See digitlst.h, pluralaffix.h, datefmt.h, and others for similar examples. // #if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN template class U_I18N_API MaybeStackArray<int64_t, CEBUFFER_INITIAL_CAPACITY>; #endif /** * Collation element iterator and abstract character iterator. * * When a method returns a code point value, it must be in 0..10FFFF, * except it can be negative as a sentinel value. */ class U_I18N_API CollationIterator : public UObject { … }; U_NAMESPACE_END #endif // !UCONFIG_NO_COLLATION #endif // __COLLATIONITERATOR_H__