FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
AdCharFormatter Class Reference

#include <addMFCClass.h>

Public Types

enum  {
  kUnknown = 0 , kAnsi , kUtf8 , kUtf16LE ,
  kUtf16BE , kUtf32LE , kUtf32BE
}
 

Public Member Functions

 AdCharFormatter (unsigned, bool, bool)
 
 AdCharFormatter (void)
 
AdCharFormatteroperator= (const AdCharFormatter &)
 
bool getUseCIF () const
 
bool getExpandLF () const
 
unsigned getFormat () const
 
bool setUseCIF (bool)
 
bool setExpandLF (bool)
 
unsigned setFormat (unsigned)
 
unsigned wcharToBytes (wchar_t wch, char *pDestBuf, unsigned nDestBufSize) const
 

Static Public Member Functions

static unsigned lookupBOM (unsigned)
 
static int getBOM (unsigned &, unsigned)
 
static unsigned wcsLength (const wchar_t *)
 
static unsigned wcharToAnsiOrUtf8 (wchar_t wch, char *pDestBuf, unsigned nDestBufSize, bool bToAnsi, bool bUseCIF, bool bExpandLF)
 
static unsigned wcharToUtf16 (wchar_t wch, char *pDestBuf, unsigned nDestBufSize, bool bLittleEndian, bool bExpandLF)
 

Detailed Description

Definition at line 41 of file addMFCClass.h.

Member Enumeration Documentation

◆ anonymous enum

Enumerator
kUnknown 
kAnsi 
kUtf8 
kUtf16LE 
kUtf16BE 
kUtf32LE 
kUtf32BE 

Definition at line 44 of file addMFCClass.h.

Constructor & Destructor Documentation

◆ AdCharFormatter() [1/2]

AdCharFormatter::AdCharFormatter ( unsigned ,
bool ,
bool  )

◆ AdCharFormatter() [2/2]

AdCharFormatter::AdCharFormatter ( void )

Member Function Documentation

◆ getBOM()

static int AdCharFormatter::getBOM ( unsigned & ,
unsigned  )
static

◆ getExpandLF()

bool AdCharFormatter::getExpandLF ( ) const

◆ getFormat()

unsigned AdCharFormatter::getFormat ( ) const

◆ getUseCIF()

bool AdCharFormatter::getUseCIF ( ) const

◆ lookupBOM()

static unsigned AdCharFormatter::lookupBOM ( unsigned )
static

◆ operator=()

AdCharFormatter & AdCharFormatter::operator= ( const AdCharFormatter & )

◆ setExpandLF()

bool AdCharFormatter::setExpandLF ( bool )

◆ setFormat()

unsigned AdCharFormatter::setFormat ( unsigned )

◆ setUseCIF()

bool AdCharFormatter::setUseCIF ( bool )

◆ wcharToAnsiOrUtf8()

static unsigned AdCharFormatter::wcharToAnsiOrUtf8 ( wchar_t wch,
char * pDestBuf,
unsigned nDestBufSize,
bool bToAnsi,
bool bUseCIF,
bool bExpandLF )
static

◆ wcharToBytes()

unsigned AdCharFormatter::wcharToBytes ( wchar_t wch,
char * pDestBuf,
unsigned nDestBufSize ) const

◆ wcharToUtf16()

static unsigned AdCharFormatter::wcharToUtf16 ( wchar_t wch,
char * pDestBuf,
unsigned nDestBufSize,
bool bLittleEndian,
bool bExpandLF )
static

◆ wcsLength()

static unsigned AdCharFormatter::wcsLength ( const wchar_t * )
static

The documentation for this class was generated from the following file: