webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
uformattable.h
Go to the documentation of this file.
1 /*
2 ********************************************************************************
3 * Copyright (C) 2013, International Business Machines Corporation and others.
4 * All Rights Reserved.
5 ********************************************************************************
6 *
7 * File UFORMATTABLE.H
8 *
9 * Modification History:
10 *
11 * Date Name Description
12 * 2013 Jun 7 srl New
13 ********************************************************************************
14 */
15 
28 #ifndef UFORMATTABLE_H
29 #define UFORMATTABLE_H
30 
31 #include "unicode/utypes.h"
32 
33 #if !UCONFIG_NO_FORMATTING
34 
35 #ifndef U_HIDE_DRAFT_API
36 
37 #include "unicode/localpointer.h"
38 
46 typedef enum UFormattableType {
47  UFMT_DATE = 0,
56 
57 
64 typedef void *UFormattable;
65 
78 
85 U_DRAFT void U_EXPORT2
87 
88 #if U_SHOW_CPLUSPLUS_API
89 
91 
101 U_DEFINE_LOCAL_OPEN_POINTER(LocalUFormattablePointer, UFormattable, ufmt_close);
102 
104 
105 #endif
106 
119 
130 
143 
159 U_DRAFT double U_EXPORT2
161 
182 
183 
203 
214 U_DRAFT const void *U_EXPORT2
216 
229 U_DRAFT const UChar* U_EXPORT2
231 
242 
254 
277 U_DRAFT const char * U_EXPORT2
279 #endif /* U_HIDE_DRAFT_API */
280 
281 #endif
282 
283 #endif
U_DRAFT int64_t U_EXPORT2 ufmt_getInt64(UFormattable *fmt, UErrorCode *status)
U_DRAFT const char *U_EXPORT2 ufmt_getDecNumChars(UFormattable *fmt, int32_t *len, UErrorCode *status)
U_DRAFT UFormattable *U_EXPORT2 ufmt_open(UErrorCode *status)
U_DRAFT int32_t U_EXPORT2 ufmt_getLong(UFormattable *fmt, UErrorCode *status)
U_DRAFT double U_EXPORT2 ufmt_getDouble(UFormattable *fmt, UErrorCode *status)
signed int int32_t
Definition: ptypes.h:101
int8_t UBool
Definition: umachine.h:200
U_DRAFT UFormattableType U_EXPORT2 ufmt_getType(const UFormattable *fmt, UErrorCode *status)
U_DRAFT UBool U_EXPORT2 ufmt_isNumeric(const UFormattable *fmt)
Definition: uformattable.h:54
#define U_NAMESPACE_BEGIN
Definition: uversion.h:129
#define U_NAMESPACE_END
Definition: uversion.h:130
Definition: uformattable.h:47
signed long long int64_t
Definition: ptypes.h:112
Definition: status.py:1
#define U_DRAFT
Definition: umachine.h:111
Definition: uformattable.h:51
UFormattableType
Definition: uformattable.h:46
EGLStreamKHR EGLint n
Definition: eglext.h:984
OPENSSL_EXPORT const ASN1_OBJECT int const unsigned char int len
Definition: x509.h:1053
UErrorCode
Definition: utypes.h:476
U_DRAFT const UChar *U_EXPORT2 ufmt_getUChars(UFormattable *fmt, int32_t *len, UErrorCode *status)
Definition: uformattable.h:52
Definition: uformattable.h:53
Definition: uformattable.h:49
#define U_EXPORT2
Definition: platform.h:724
U_DRAFT const void *U_EXPORT2 ufmt_getObject(const UFormattable *fmt, UErrorCode *status)
U_DRAFT int32_t U_EXPORT2 ufmt_getArrayLength(const UFormattable *fmt, UErrorCode *status)
U_DRAFT UFormattable *U_EXPORT2 ufmt_getArrayItemByIndex(UFormattable *fmt, int32_t n, UErrorCode *status)
FmtSubchunk fmt
Definition: wav_header.cc:53
Definition: uformattable.h:50
double UDate
Definition: utypes.h:201
uint16_t UChar
Definition: umachine.h:278
void * UFormattable
Definition: uformattable.h:64
Definition: uformattable.h:48
U_DRAFT void U_EXPORT2 ufmt_close(UFormattable *fmt)
U_DRAFT UDate U_EXPORT2 ufmt_getDate(const UFormattable *fmt, UErrorCode *status)