3 ************************************************************************
4 * Copyright (c) 2007, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 ************************************************************************
9 /** C++ Utilities to aid in debugging **/
14 #include "unicode/utypes.h"
15 #include "unicode/udbgutil.h"
16 #include "unicode/unistr.h"
17 #include "unicode/testtype.h"
19 #if !UCONFIG_NO_FORMATTING
21 //class UnicodeString;
23 T_CTEST_API
const UnicodeString
& T_CTEST_EXPORT2
udbg_enumString(UDebugEnumType type
, int32_t field
);
25 T_CTEST_API
int32_t T_CTEST_EXPORT2
udbg_enumByString(UDebugEnumType type
, const UnicodeString
& string
);
28 * Convert a UnicodeString (with ascii digits) into a number.
30 * @return numerical value, or 0 on error
32 T_CTEST_API
int32_t T_CTEST_EXPORT2
udbg_stoi(const UnicodeString
&s
);
34 T_CTEST_API UnicodeString
*udbg_escape(const UnicodeString
&s
, UnicodeString
*dst
);