Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

tstl.h

Go to the documentation of this file.
00001 /*  tstl.h - _t definitions for the STL
00002     Copyright (C) 2001-2004 Mark Weaver
00003     Written by Mark Weaver <mark@npsl.co.uk>
00004 
00005     Part of the Open-Win32 library.
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License as published by the Free Software Foundation; either
00009     version 2 of the License, or (at your option) any later version.
00010 
00011     This library is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     Library General Public License for more details.
00015 
00016     You should have received a copy of the GNU Library General Public
00017     License along with this library; if not, write to the
00018     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019     Boston, MA  02111-1307, USA.
00020 */
00021 
00026 #ifndef OW32_tstl_h
00027 #define OW32_tstl_h
00028 
00029 #ifdef _UNICODE
00030 #define _t(x) w##x
00031 #else
00032 #define _t(x) x
00033 #endif
00034 
00035 #define _tios _t(ios)
00036 
00037 #define _tistream _t(istream)
00038 #define _tostream _t(ostream)
00039 #define _tiostream _t(iostream)
00040 
00041 #define _tfstream _t(fstream)
00042 #define _tifstream _t(ifstream)
00043 #define _tofstream _t(ofstream)
00044 
00045 #define _tstring _t(string)
00046 #define _tstringbuf _t(stringbuf)
00047 
00048 #define _tstringstream _t(stringstream)
00049 #define _tistringstream _t(istringstream)
00050 #define _tostringstream _t(ostringstream)
00051 
00052 #define _tstrstream _t(strstream)
00053 #define _tistrstream _t(istrstream)
00054 #define _tostrstream _t(ostrstream)
00055 
00056 #define _tstreambuf _t(streambuf)
00057 #define _tstreampos _t(streampos)
00058 #define _tfilebuf _t(filebuf)
00059 
00060 #define _tcin _t(cin)
00061 #define _tcout _t(cout)
00062 #define _tcerr _t(cerr)
00063 #define _tclog _t(clog)
00064 
00065 #define _tmemcpy _t(memcpy)
00066 #define _tmemcmp _t(memcmp)
00067 #define _tmemmove _t(memmove)
00068 #define _tmemset _t(memset)
00069 #define _tmemchr _t(memchr)
00070 
00071 #define _tsize(x) (sizeof(x)/sizeof((x)[0]))
00072 
00073 #ifdef _UNICODE
00074 #define _ttolower towlower
00075 #else
00076 #define _ttolower tolower
00077 #endif
00078 
00079 #endif // OW32_tstl_h

Generated on Sun Jun 5 01:29:18 2005 for OW32 by  doxygen 1.3.9.1