X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..e4f10fab0c078f399c9deef476d9c9b73b47dff8:/icuSources/test/intltest/nptrans.h diff --git a/icuSources/test/intltest/nptrans.h b/icuSources/test/intltest/nptrans.h index 86939cf4..5e011263 100644 --- a/icuSources/test/intltest/nptrans.h +++ b/icuSources/test/intltest/nptrans.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * - * Copyright (C) 2003, International Business Machines + * Copyright (C) 2003-2011, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -26,6 +26,7 @@ #include "unicode/ures.h" #include "unicode/translit.h" +#include "intltest.h" #define ASCII_SPACE 0x0020 @@ -49,18 +50,14 @@ public : inline UBool isProhibited(UChar32 ch); - + /** * ICU "poor man's RTTI", returns a UClassID for the actual class. - * - * @draft ICU 2.6 */ inline UClassID getDynamicClassID() const { return getStaticClassID(); } /** * ICU "poor man's RTTI", returns a UClassID for this class. - * - * @draft ICU 2.6 */ static inline UClassID getStaticClassID() { return (UClassID)&fgClassID; } @@ -81,7 +78,6 @@ public : * @param status ICU error code in/out parameter. * Must fulfill U_SUCCESS before the function call. * @return The number of UChars in the destination buffer - * */ int32_t map(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, @@ -114,14 +110,12 @@ public : * Ascertain if the given code point is a label separator as specified by IDNA * * @return TRUE is the code point is a label separator - * - * */ UBool isLabelSeparator(UChar32 ch, UErrorCode& status); - inline UBool isLDHChar(UChar32 ch); -private: + +private: /** * The address of this static class variable serves as this class's ID * for ICU "poor man's RTTI".