QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_wstring.cpp File Reference
#include "opennurbs.h"

Classes

struct  ON_wStringHeader
 

Macros

#define MAX_MSG_LENGTH   2048
 
#define MAX_MSG_LENGTH   2048
 
#define MAX_MSG_LENGTH   2048
 

Functions

static wchar_t c2w (char)
 
static int c2w (int, const char *, int, wchar_t *)
 
static bool IsValidUrlChar (wchar_t c)
 
static bool IsWhiteSpaceHelper (wchar_t c, const wchar_t *whitespace)
 
bool ON_WildCardMatch (const wchar_t *s, const wchar_t *pattern)
 
bool ON_WildCardMatchNoCase (const wchar_t *s, const wchar_t *pattern)
 
static bool UrlDecodeHelper (wchar_t *s)
 
static int w2c (int, const wchar_t *, int, char *)
 
static int w2c_size (int, const wchar_t *)
 

Variables

struct { 
 
   ON_wStringHeader   header 
 
   wchar_t   s 
 
empty_wstring = { {-1, 0, 0}, 0 } 
 
static ON_wStringHeaderpEmptyStringHeader = &empty_wstring.header
 
static const wchar_t * pEmptywString = &empty_wstring.s
 

Macro Definition Documentation

◆ MAX_MSG_LENGTH [1/3]

#define MAX_MSG_LENGTH   2048

◆ MAX_MSG_LENGTH [2/3]

#define MAX_MSG_LENGTH   2048

◆ MAX_MSG_LENGTH [3/3]

#define MAX_MSG_LENGTH   2048

Function Documentation

◆ c2w() [1/2]

static wchar_t c2w ( char c)
static

◆ c2w() [2/2]

static int c2w ( int c_count,
const char * c,
int w_count,
wchar_t * w )
static

◆ IsValidUrlChar()

static bool IsValidUrlChar ( wchar_t c)
static

◆ IsWhiteSpaceHelper()

static bool IsWhiteSpaceHelper ( wchar_t c,
const wchar_t * whitespace )
static

◆ ON_WildCardMatch()

bool ON_WildCardMatch ( const wchar_t * s,
const wchar_t * pattern )

◆ ON_WildCardMatchNoCase()

bool ON_WildCardMatchNoCase ( const wchar_t * s,
const wchar_t * pattern )

◆ UrlDecodeHelper()

static bool UrlDecodeHelper ( wchar_t * s)
static

◆ w2c()

static int w2c ( int w_count,
const wchar_t * w,
int c_count,
char * c )
static

◆ w2c_size()

static int w2c_size ( int w_count,
const wchar_t * w )
static

Variable Documentation

◆ [struct]

struct { ... } empty_wstring

◆ header

◆ pEmptyStringHeader

ON_wStringHeader* pEmptyStringHeader = &empty_wstring.header
static

◆ pEmptywString

const wchar_t* pEmptywString = &empty_wstring.s
static

◆ s

wchar_t s