CFx SDK Documentation  2023 SP0
Classes | Typedefs | Enumerations | Functions
OdCharMapper.h File Reference
#include "TD_PackPush.h"
#include "OdCodePage.h"
#include "OdError.h"
#include "OdArray.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 38 of file OdCharMapper.h.

◆ OdCharArray

Definition at line 39 of file OdCharMapper.h.

Enumeration Type Documentation

◆ OdAsianCpIndex

Enumerator
JAPANESE_CP_INDEX 
TRADITIONAL_CHINESE_CP_INDEX 
KOREAN_WANSUNG_CP_INDEX 
KOREAN_JOHAB_CP_INDEX 
SIMPLIFIED_CHINESE_CP_INDEX 

Definition at line 292 of file OdCharMapper.h.

Function Documentation

◆ odIsCodepoint()

template<class T >
bool odIsCodepoint ( chr)
inline

Definition at line 282 of file OdCharMapper.h.

◆ odIsLeadSurrogate()

template<class T >
bool odIsLeadSurrogate ( chr)
inline

Definition at line 270 of file OdCharMapper.h.

◆ odIsTailSurrogate()

template<class T >
bool odIsTailSurrogate ( chr)
inline

Definition at line 273 of file OdCharMapper.h.

◆ odToCodepoint()

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

Definition at line 276 of file OdCharMapper.h.

◆ odToCodeValue()

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

Definition at line 279 of file OdCharMapper.h.

◆ odToLeadSurrogate()

template<class T >
T odToLeadSurrogate ( chr)
inline

Definition at line 285 of file OdCharMapper.h.

◆ odToTailSurrogate()

template<class T >
T odToTailSurrogate ( chr)
inline

Definition at line 288 of file OdCharMapper.h.