DCL 4.0
Loading...
Searching...
No Matches
String.cpp
Go to the documentation of this file.
1#include <dcl/Config.h>
2
3#if __DCL_WINDOWS
4#include <windows.h> // for dcl/Thread.h
5#endif
6
7#include <wchar.h> // wcscasecmp, wcslen
8#include <ctype.h> // isspace, ...
9#include <wctype.h> // iswspace, ...
10#include <stdlib.h> // malloc, free, realloc
11#include <string.h> // memcpy
12#include <stdio.h> // vsnprintf
13
14#include <dcl/_regex.h>
15
16#include <dcl/size_t.h>
17#include <dcl/String.h>
18#include <dcl/Object.h>
19#include <dcl/Charset.h>
20#include <dcl/Array.h> // StringArray, ByteStringArray
21#include <dcl/Thread.h> // Thread::incrementAndGet, decrementAndGet
22#include <dcl/Numeric.h>
23
24__DCL_BEGIN_NAMESPACE
25
26#define __DCL_INTERNAL__
27
28#if __DCL_HAVE_ALLOC_DEBUG
29 #undef __DCL_ALLOC_LEVEL
30 #define __DCL_ALLOC_LEVEL __DCL_ALLOC_INTERNAL
31#endif
32
33// ByteString
34#include "__STRING.cpp"
35// ByteStringBuilder
36#include "__STRING_BUILDER.cpp"
37
38// String
39#define __DCL_COMPILE_UNICODE__ 1
40#include "__STRING.cpp"
41// StringBuilder
42#include "__STRING_BUILDER.cpp"
43#undef __DCL_COMPILE_UNICODE__
44
45#undef __DCL_INTERNAL__
46
47__DCL_END_NAMESPACE