_string_fwd.h

00001 /*
00002  * Copyright (c) 1997
00003  * Silicon Graphics Computer Systems, Inc.
00004  *
00005  * Copyright (c) 1999 
00006  * Boris Fomitchev
00007  *
00008  * This material is provided "as is", with absolutely no warranty expressed
00009  * or implied. Any use is at your own risk.
00010  *
00011  * Permission to use or copy this software for any purpose is hereby granted 
00012  * without fee, provided the above notices are retained on all copies.
00013  * Permission to modify the code and to distribute modified code is granted,
00014  * provided the above notices are retained, and a notice that the code was
00015  * modified is included with the above copyright notice.
00016  *
00017  */
00018 
00019 #ifndef _STLP_STRING_FWD_H
00020 #define _STLP_STRING_FWD_H
00021 
00022 #ifndef _STLP_IOSFWD
00023 # include <iosfwd>
00024 #endif
00025 
00026 _STLP_BEGIN_NAMESPACE
00027 
00028 # if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
00029 template <class _CharT, 
00030           class _Traits = char_traits<_CharT>, 
00031           class _Alloc = allocator<_CharT> >
00032 class basic_string;
00033 # else
00034 template <class _CharT, 
00035           class _Traits, 
00036           class _Alloc>
00037 class basic_string;
00038 # endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */
00039 
00040 typedef basic_string<char, char_traits<char>, allocator<char> > string;
00041 
00042 #  ifdef _STLP_HAS_WCHAR_T
00043 typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
00044 #  endif
00045 
00046 # ifdef _STLP_OWN_IOSTREAMS
00047 _STLP_DECLSPEC const char*  _STLP_CALL
00048 __get_c_string(const string& __str);
00049 # else
00050 template <class _CharT, class _Traits, class _Alloc>
00051 const char* _STLP_CALL
00052 __get_c_string(const basic_string<_CharT, _Traits, _Alloc>& __str);
00053 # endif
00054 
00055 _STLP_END_NAMESPACE
00056 
00057 #endif /* _STLP_STRING_FWD_H */
00058 
00059 // Local Variables:
00060 // mode:C++
00061 // End:

Generated on Mon Jun 5 10:20:47 2006 for Intelligence.kdevelop by  doxygen 1.4.6