VR-Vantage
Loading...
Searching...
No Matches
DtUnicode.inl File Reference

Contains the DtUnicode class definition. More...

Go to the source code of this file.

Namespaces

namespace  makVrv
 Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarations.

Macros

#define AtomicIncrement(a)
#define AtomicDecrement(a)
#define MallocAligned(sz, align)
#define ReallocAligned(ptr, sz, oldsz, align)
#define FreeAligned(ptr)

Functions

void * mallocAligned (size_t sz, size_t align)
void * reallocAligned (void *ptr, size_t sz, size_t oldsz, size_t align)
size_t makVrv::utf16len (const unsigned short *str)
const unsigned short * makVrv::wcsnstr (const unsigned short *haystack, int hayLength, const unsigned short *needle, int needleLength)
template<int wcharSize>
DtUnicode makVrv::decodeWCHAR (const wchar_t utf16[], int len)
template<>
DtUnicode makVrv::decodeWCHAR< 2 > (const wchar_t utf16[], int len)
template<>
DtUnicode makVrv::decodeWCHAR< 4 > (const wchar_t utf16[], int len)
template<int wcharSize>
void makVrv::setFromWCHAR (DtUnicode &ref, const wchar_t utf16[], int len)
template<>
void makVrv::setFromWCHAR< 2 > (DtUnicode &str, const wchar_t utf16[], int len)
template<>
void makVrv::setFromWCHAR< 4 > (DtUnicode &str, const wchar_t utf32[], int len)

Detailed Description

Contains the DtUnicode class definition.

Macro Definition Documentation

◆ AtomicIncrement

#define AtomicIncrement ( a)
Value:
boost::detail::atomic_increment((std::atomic_int*)a)

Referenced by makVrv::DtUnicode::CodeUnitArray::add_ref().

◆ AtomicDecrement

#define AtomicDecrement ( a)
Value:
boost::detail::atomic_decrement((std::atomic_int*)a)

Referenced by makVrv::DtUnicode::CodeUnitArray::dec_ref().

◆ MallocAligned

#define MallocAligned ( sz,
align )
Value:
mallocAligned(sz,align)
void * mallocAligned(size_t sz, size_t align)
Definition DtUnicode.inl:58

Referenced by reallocAligned(), and makVrv::DtUnicode::CodeUnitArray::resize().

◆ ReallocAligned

#define ReallocAligned ( ptr,
sz,
oldsz,
align )
Value:
reallocAligned(ptr,sz,oldsz,align)
void * reallocAligned(void *ptr, size_t sz, size_t oldsz, size_t align)
Definition DtUnicode.inl:66

Referenced by makVrv::DtUnicode::CodeUnitArray::resize().

◆ FreeAligned

#define FreeAligned ( ptr)
Value:
free(ptr)

Referenced by makVrv::DtUnicode::CodeUnitArray::dec_ref().

Function Documentation

◆ mallocAligned()

void * mallocAligned ( size_t sz,
size_t align )
inline

◆ reallocAligned()

void * reallocAligned ( void * ptr,
size_t sz,
size_t oldsz,
size_t align )
inline

References MallocAligned.