blob: f7bef34b86bb4ad311cd4b60ed40a38c5d359ffa (
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
45
46
|
// -*- C++ -*-
//=============================================================================
/**
* @file SStringfwd.h
*
* $Id$
*
* Forward declarations and typedefs of ACE string types.
*
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
* @author Nanbor Wang <nanbor@cs.wustl.edu>
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef ACE_SSTRINGFWD_H
#define ACE_SSTRINGFWD_H
#include /**/ "ace/pre.h"
#include "ace/Basic_Types.h" /* ACE_WCHAR_T definition */
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
template <class CHAR> class ACE_String_Base; // Forward declaration.
typedef ACE_WCHAR_T ACE_WSTRING_TYPE;
typedef ACE_String_Base<char> ACE_CString;
typedef ACE_String_Base<ACE_WSTRING_TYPE> ACE_WString;
// This allows one to use W or C String based on the Unicode
// setting
#if defined (ACE_USES_WCHAR)
typedef ACE_WString ACE_TString;
#else /* ACE_USES_WCHAR */
typedef ACE_CString ACE_TString;
#endif /* ACE_USES_WCHAR */
#include /**/ "ace/post.h"
#endif /* ACE_SSTRINGFWD_H */
|