ICU 4.8.1.1  4.8.1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plruns.h
Go to the documentation of this file.
1 /*
2  *
3  * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
4  *
5  */
6 
7 #ifndef __PLRUNS_H
8 #define __PLRUNS_H
9 
10 #include "unicode/utypes.h"
11 #include "unicode/ubidi.h"
12 #include "layout/LETypes.h"
13 
14 #include "layout/loengine.h"
15 
19 typedef void pl_fontRuns;
23 typedef void pl_valueRuns;
27 typedef void pl_localeRuns;
28 
54 pl_openFontRuns(const le_font **fonts,
55  const le_int32 *limits,
56  le_int32 count);
57 
70 pl_openEmptyFontRuns(le_int32 initialCapacity);
71 
81 pl_closeFontRuns(pl_fontRuns *fontRuns);
82 
93 pl_getFontRunCount(const pl_fontRuns *fontRuns);
94 
103 pl_resetFontRuns(pl_fontRuns *fontRuns);
104 
116 pl_getFontRunLastLimit(const pl_fontRuns *fontRuns);
117 
129 pl_getFontRunLimit(const pl_fontRuns *fontRuns,
130  le_int32 run);
131 
144 U_INTERNAL const le_font * U_EXPORT2
145 pl_getFontRunFont(const pl_fontRuns *fontRuns,
146  le_int32 run);
147 
148 
168 pl_addFontRun(pl_fontRuns *fontRuns,
169  const le_font *font,
170  le_int32 limit);
171 
187 pl_openValueRuns(const le_int32 *values,
188  const le_int32 *limits,
189  le_int32 count);
190 
203 pl_openEmptyValueRuns(le_int32 initialCapacity);
204 
214 pl_closeValueRuns(pl_valueRuns *valueRuns);
215 
226 pl_getValueRunCount(const pl_valueRuns *valueRuns);
227 
236 pl_resetValueRuns(pl_valueRuns *valueRuns);
237 
249 pl_getValueRunLastLimit(const pl_valueRuns *valueRuns);
250 
262 pl_getValueRunLimit(const pl_valueRuns *valueRuns,
263  le_int32 run);
264 
278 pl_getValueRunValue(const pl_valueRuns *valueRuns,
279  le_int32 run);
280 
281 
300 pl_addValueRun(pl_valueRuns *valueRuns,
301  le_int32 value,
302  le_int32 limit);
303 
319 pl_openLocaleRuns(const char **locales,
320  const le_int32 *limits,
321  le_int32 count);
322 
335 pl_openEmptyLocaleRuns(le_int32 initialCapacity);
336 
346 pl_closeLocaleRuns(pl_localeRuns *localeRuns);
347 
358 pl_getLocaleRunCount(const pl_localeRuns *localeRuns);
359 
368 pl_resetLocaleRuns(pl_localeRuns *localeRuns);
369 
381 pl_getLocaleRunLastLimit(const pl_localeRuns *localeRuns);
382 
394 pl_getLocaleRunLimit(const pl_localeRuns *localeRuns,
395  le_int32 run);
396 
409 U_INTERNAL const char * U_EXPORT2
410 pl_getLocaleRunLocale(const pl_localeRuns *localeRuns,
411  le_int32 run);
412 
413 
433 pl_addLocaleRun(pl_localeRuns *localeRuns,
434  const char *locale,
435  le_int32 limit);
436 
437 #endif