collationcompare.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // © 2016 and later: Unicode, Inc. and others.
  2. // License & terms of use: http://www.unicode.org/copyright.html
  3. /*
  4. *******************************************************************************
  5. * Copyright (C) 1996-2014, International Business Machines
  6. * Corporation and others. All Rights Reserved.
  7. *******************************************************************************
  8. * collationcompare.h
  9. *
  10. * created on: 2012feb14 with new and old collation code
  11. * created by: Markus W. Scherer
  12. */
  13. #ifndef __COLLATIONCOMPARE_H__
  14. #define __COLLATIONCOMPARE_H__
  15. #include "unicode/utypes.h"
  16. #if !UCONFIG_NO_COLLATION
  17. #include "unicode/ucol.h"
  18. U_NAMESPACE_BEGIN
  19. class CollationIterator;
  20. struct CollationSettings;
  21. class U_I18N_API CollationCompare /* not : public UObject because all methods are static */ {
  22. public:
  23. static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
  24. const CollationSettings &settings,
  25. UErrorCode &errorCode);
  26. };
  27. U_NAMESPACE_END
  28. #endif // !UCONFIG_NO_COLLATION
  29. #endif // __COLLATIONCOMPARE_H__