summaryrefslogtreecommitdiff
path: root/ace/adapter/ace/OS_String.h
blob: f125060640c3260642c542dc2513f1d0b84233dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// $Id$

#ifndef ACE_ADAPTER_OS_STRING_H
#define ACE_ADAPTER_OS_STRING_H
#include "ace/pre.h"

#include "../../ace_wchar.h"
#include "../../OS_String.h"

#if defined (ACE_HAS_WCHAR)

#if defined (ACE_USES_WCHAR)

class ACE_OS_String_C : public ACE_OS_String
{
public:
  static int ace_isspace (const wchar_t s);
  static int ace_isprint (const wchar_t s);

};  

typedef ACE_OS_String_W ACE_OS_String;

#else /* ACE_USES_WCHAR */

typedef ACE_OS_String ACE_OS_String_C;

class ACE_OS_String_W : public ACE_OS_String
{
public:
  static int ace_isspace (const wchar_t s);
  static int ace_isprint (const wchar_t s);

};  

#endif /* ACE_USES_WCHAR */
#else /* ACE_HAS_WCHAR */

typedef ACE_OS_String_C ACE_OS_String;

#endif /* ACE_HAS_WCHAR */

#include "ace/post.h"
#endif /* ACE_ADAPTER_OS_STRING_H */