ICU 62.1 62.1
ubiditransform.h
Go to the documentation of this file.
1/*
2******************************************************************************
3*
4* © 2016 and later: Unicode, Inc. and others.
5* License & terms of use: http://www.unicode.org/copyright.html
6*
7******************************************************************************
8* file name: ubiditransform.h
9* encoding: UTF-8
10* tab size: 8 (not used)
11* indentation:4
12*
13* created on: 2016jul24
14* created by: Lina Kemmel
15*
16*/
17
18#ifndef UBIDITRANSFORM_H
19#define UBIDITRANSFORM_H
20
21#include "unicode/utypes.h"
22#include "unicode/ubidi.h"
23#include "unicode/uchar.h"
25
75
101
108
243U_STABLE uint32_t U_EXPORT2
245 const UChar *src, int32_t srcLength,
246 UChar *dest, int32_t destSize,
247 UBiDiLevel inParaLevel, UBiDiOrder inOrder,
248 UBiDiLevel outParaLevel, UBiDiOrder outOrder,
249 UBiDiMirroring doMirroring, uint32_t shapingOptions,
250 UErrorCode *pErrorCode);
251
289U_STABLE UBiDiTransform* U_EXPORT2
291
296U_STABLE void U_EXPORT2
298
299#if U_SHOW_CPLUSPLUS_API
300
302
313
315
316#endif
317
318#endif
"Smart pointer" class, closes a UBiDiTransform via ubiditransform_close().
C++ API: "Smart pointers" for use with and in ICU4C C++ code.
#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)
"Smart pointer" definition macro, deletes objects via the closeFunction.
C API: Bidi algorithm.
uint8_t UBiDiLevel
UBiDiLevel is the type of the level values in this Bidi implementation.
Definition ubidi.h:332
struct UBiDiTransform UBiDiTransform
Forward declaration of the UBiDiTransform structure that stores information used by the layout transf...
uint32_t ubiditransform_transform(UBiDiTransform *pBiDiTransform, const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, UBiDiLevel inParaLevel, UBiDiOrder inOrder, UBiDiLevel outParaLevel, UBiDiOrder outOrder, UBiDiMirroring doMirroring, uint32_t shapingOptions, UErrorCode *pErrorCode)
Performs transformation of text from the bidi layout defined by the input ordering scheme to the bidi...
UBiDiOrder
@ UBIDI_LOGICAL
0: Constant indicating a logical order.
@ UBIDI_VISUAL
1: Constant indicating a visual order.
UBiDiTransform * ubiditransform_open(UErrorCode *pErrorCode)
Allocates a UBiDiTransform object.
void ubiditransform_close(UBiDiTransform *pBidiTransform)
Deallocates the given UBiDiTransform object.
UBiDiMirroring
UBiDiMirroring indicates whether or not characters with the "mirrored" property in RTL runs should be...
@ UBIDI_MIRRORING_ON
1: Constant indicating that character mirroring should be performed.
@ UBIDI_MIRRORING_OFF
0: Constant indicating that character mirroring should not be performed.
C API: Unicode Properties.
uint16_t UChar
The base type for UTF-16 code units and pointers.
Definition umachine.h:353
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition umachine.h:111
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
Definition utypes.h:396
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
Definition uversion.h:138
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Definition uversion.h:137