CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdCharMapper.h File Reference
#include "TD_PackPush.h"
#include "OdCodePage.h"
#include "OdError.h"
#include "OdArray.h"
#include "IntArray.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdCharMapper
 

Typedefs

typedef OdArray< char, OdMemoryAllocator< char > > OdAnsiCharArray
 
typedef OdArray< OdChar, OdMemoryAllocator< OdChar > > OdCharArray
 

Enumerations

enum  OdAsianCpIndex {
  JAPANESE_CP_INDEX = 1 , TRADITIONAL_CHINESE_CP_INDEX = 2 , KOREAN_WANSUNG_CP_INDEX = 3 , KOREAN_JOHAB_CP_INDEX = 4 ,
  SIMPLIFIED_CHINESE_CP_INDEX = 5
}
 

Functions

template<class T>
bool odIsLeadSurrogate (T chr)
 
template<class T>
bool odIsTailSurrogate (T chr)
 
template<class T1, class T2>
T1 odToCodepoint (T1 chr, T2 chr2)
 
template<class T>
OdUInt32 odToCodeValue (T chr, T chr2)
 
template<class T>
bool odIsCodepoint (T chr)
 
template<class T>
odToLeadSurrogate (T chr)
 
template<class T>
odToTailSurrogate (T chr)
 

Typedef Documentation

◆ OdAnsiCharArray

typedef OdArray<char, OdMemoryAllocator<char> > OdAnsiCharArray

Definition at line 40 of file OdCharMapper.h.

◆ OdCharArray

Definition at line 41 of file OdCharMapper.h.

Enumeration Type Documentation

◆ OdAsianCpIndex

Defines the Asian code page index.

Enumerator
JAPANESE_CP_INDEX 

Japanese code page index.

TRADITIONAL_CHINESE_CP_INDEX 

Traditional Chinese code page index.

KOREAN_WANSUNG_CP_INDEX 

Korean Wansung code page index.

KOREAN_JOHAB_CP_INDEX 

Korean Johab code page index.

SIMPLIFIED_CHINESE_CP_INDEX 

Simplified Chinese code page index.

Definition at line 399 of file OdCharMapper.h.

Function Documentation

◆ odIsCodepoint()

template<class T>
bool odIsCodepoint ( T chr)
inline

Definition at line 386 of file OdCharMapper.h.

◆ odIsLeadSurrogate()

template<class T>
bool odIsLeadSurrogate ( T chr)
inline

Definition at line 374 of file OdCharMapper.h.

◆ odIsTailSurrogate()

template<class T>
bool odIsTailSurrogate ( T chr)
inline

Definition at line 377 of file OdCharMapper.h.

◆ odToCodepoint()

template<class T1, class T2>
T1 odToCodepoint ( T1 chr,
T2 chr2 )
inline

Definition at line 380 of file OdCharMapper.h.

◆ odToCodeValue()

template<class T>
OdUInt32 odToCodeValue ( T chr,
T chr2 )
inline

Definition at line 383 of file OdCharMapper.h.

◆ odToLeadSurrogate()

template<class T>
T odToLeadSurrogate ( T chr)
inline

Definition at line 389 of file OdCharMapper.h.

◆ odToTailSurrogate()

template<class T>
T odToTailSurrogate ( T chr)
inline

Definition at line 392 of file OdCharMapper.h.