CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdCharConverter Namespace Reference

Functions

template<class CharType>
bool isDigit (CharType ch)
 
template<class CharType>
bool isHexDigit (CharType ch)
 
template<class CharType>
bool checkDigits (const CharType *ptr, int numDigits, bool hex=true)
 
template<class CharType>
char isCIForMIF (const CharType *ptr)
 
template<class CharType>
bool isCIF (const CharType *ptr)
 
template<class CharType>
bool isMIF (const CharType *ptr)
 
template<class CharType>
unsigned int hexValue (const CharType c)
 
int getMIFIndex (OdCodePageId id)
 
template<class CharType>
int getMIFString (OdChar val, OdCodePageId cp, CharType *dstBuf, int size)
 
template<class CharType>
int getCIFString (OdUInt16 val, CharType *dstBuf, int size)
 
template<class CharType>
OdCodePageId getMIFCodepage (CharType cp)
 
template<class CharType>
bool parseMIFString (CharType *srcBuf, OdChar &val, OdCodePageId &cp)
 
template<class CharType>
bool parseCIFString (CharType *srcBuf, OdChar &val)
 
bool isMBCBCodepage (OdCodePageId id)
 
bool isMIFCodepage (OdCodePageId id)
 
OdCodePageId checkTheSameCP (OdCodePageId cp)
 

Detailed Description

<group TD_Namespaces>

Function Documentation

◆ checkDigits()

template<class CharType>
bool OdCharConverter::checkDigits ( const CharType * ptr,
int numDigits,
bool hex = true )
inline

Definition at line 50 of file OdCharConverter.h.

◆ checkTheSameCP()

OdCodePageId OdCharConverter::checkTheSameCP ( OdCodePageId cp)
inline

Definition at line 214 of file OdCharConverter.h.

◆ getCIFString()

template<class CharType>
int OdCharConverter::getCIFString ( OdUInt16 val,
CharType * dstBuf,
int size )
inline

Definition at line 138 of file OdCharConverter.h.

◆ getMIFCodepage()

template<class CharType>
OdCodePageId OdCharConverter::getMIFCodepage ( CharType cp)
inline

Definition at line 154 of file OdCharConverter.h.

◆ getMIFIndex()

int OdCharConverter::getMIFIndex ( OdCodePageId id)
inline

Definition at line 103 of file OdCharConverter.h.

◆ getMIFString()

template<class CharType>
int OdCharConverter::getMIFString ( OdChar val,
OdCodePageId cp,
CharType * dstBuf,
int size )
inline

Definition at line 121 of file OdCharConverter.h.

◆ hexValue()

template<class CharType>
unsigned int OdCharConverter::hexValue ( const CharType c)
inline

Definition at line 95 of file OdCharConverter.h.

◆ isCIF()

template<class CharType>
bool OdCharConverter::isCIF ( const CharType * ptr)
inline

Definition at line 79 of file OdCharConverter.h.

◆ isCIForMIF()

template<class CharType>
char OdCharConverter::isCIForMIF ( const CharType * ptr)
inline

Definition at line 62 of file OdCharConverter.h.

◆ isDigit()

template<class CharType>
bool OdCharConverter::isDigit ( CharType ch)
inline

Definition at line 38 of file OdCharConverter.h.

◆ isHexDigit()

template<class CharType>
bool OdCharConverter::isHexDigit ( CharType ch)
inline

Definition at line 43 of file OdCharConverter.h.

◆ isMBCBCodepage()

bool OdCharConverter::isMBCBCodepage ( OdCodePageId id)
inline

Definition at line 194 of file OdCharConverter.h.

◆ isMIF()

template<class CharType>
bool OdCharConverter::isMIF ( const CharType * ptr)
inline

Definition at line 87 of file OdCharConverter.h.

◆ isMIFCodepage()

bool OdCharConverter::isMIFCodepage ( OdCodePageId id)
inline

Definition at line 208 of file OdCharConverter.h.

◆ parseCIFString()

template<class CharType>
bool OdCharConverter::parseCIFString ( CharType * srcBuf,
OdChar & val )
inline

Definition at line 181 of file OdCharConverter.h.

◆ parseMIFString()

template<class CharType>
bool OdCharConverter::parseMIFString ( CharType * srcBuf,
OdChar & val,
OdCodePageId & cp )
inline

Definition at line 167 of file OdCharConverter.h.