Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
1 /*
2 *******************************************************************************
3 * Copyright (C) 1997-2010, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
6 *
7 * File FMTABLE.CPP
8 *
9 * Modification History:
10 *
11 * Date Name Description
12 * 03/25/97 clhuang Initial Implementation.
13 ********************************************************************************
14 */
16 #include "unicode/utypes.h"
18 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_CONVERSION
20 #include "unicode/fmtable.h"
22 // *****************************************************************************
23 // class Formattable
24 // *****************************************************************************
26 U_NAMESPACE_BEGIN
28 // -------------------------------------
29 // Creates a formattable object with a char* string.
30 // This API is useless. The API that takes a UnicodeString is actually just as good.
31 // This is just a grandfathered API.
33 Formattable::Formattable(const char* stringToCopy)
34 {
35 init();
36 fType = kString;
37 fValue.fString = new UnicodeString(stringToCopy);
38 }
40 U_NAMESPACE_END
42 #endif /* #if !UCONFIG_NO_FORMATTING || !UCONFIG_NO_CONVERSION */
44 //eof