3 //=============================================================================
7 * Forward declarations and typedefs of ACE string types.
9 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
10 * @author Nanbor Wang <nanbor@cs.wustl.edu>
11 * @author Ossama Othman <ossama@uci.edu>
13 //=============================================================================
15 #ifndef ACE_SSTRINGFWD_H
16 #define ACE_SSTRINGFWD_H
18 #include /**/ "ace/pre.h"
20 #include "ace/Basic_Types.h" /* ACE_WCHAR_T definition */
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
28 template <class ACE_CHAR_T
> class ACE_String_Base
; // Forward declaration.
30 typedef ACE_WCHAR_T ACE_WSTRING_TYPE
;
32 typedef ACE_String_Base
<char> ACE_CString
;
33 typedef ACE_String_Base
<ACE_WSTRING_TYPE
> ACE_WString
;
35 // This allows one to use W or C String based on the Unicode
37 #if defined (ACE_USES_WCHAR)
38 typedef ACE_WString ACE_TString
;
39 #else /* ACE_USES_WCHAR */
40 typedef ACE_CString ACE_TString
;
41 #endif /* ACE_USES_WCHAR */
43 ACE_END_VERSIONED_NAMESPACE_DECL
45 #include /**/ "ace/post.h"
47 #endif /* ACE_SSTRINGFWD_H */