Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. /*      Copyright (C) 2004 Garrett A. Kajmowicz
  2.  
  3.         This file is part of the uClibc++ Library.
  4.  
  5.         This library is free software; you can redistribute it and/or
  6.         modify it under the terms of the GNU Lesser General Public
  7.         License as published by the Free Software Foundation; either
  8.         version 2.1 of the License, or (at your option) any later version.
  9.  
  10.         This library is distributed in the hope that it will be useful,
  11.         but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.         Lesser General Public License for more details.
  14.  
  15.         You should have received a copy of the GNU Lesser General Public
  16.         License along with this library; if not, write to the Free Software
  17.         Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  18. */
  19.  
  20. #include <basic_definitions>
  21. #include <char_traits>
  22. #include <memory>
  23.  
  24.  
  25. #ifndef __HEADER_STD_IOSFWD
  26. #define __HEADER_STD_IOSFWD 1
  27.  
  28. #pragma GCC visibility push(default)
  29.  
  30. namespace std {
  31.         class ios_base;
  32.         template<> class char_traits<char>;
  33.  
  34. #ifdef __UCLIBCXX_HAS_WCHAR__
  35.         template<> class char_traits<wchar_t>;
  36. #endif
  37.  
  38.         template <class charT, class traits = char_traits<charT> > class basic_ios;
  39.  
  40.         template <class charT, class traits = char_traits<charT> > class basic_streambuf;
  41.         template <class charT, class traits = char_traits<charT> > class basic_istream;
  42.         template <class charT, class traits = char_traits<charT> > class basic_ostream;
  43.         template <class charT, class traits = char_traits<charT> > class basic_iostream;
  44.  
  45.         template <class charT, class traits = char_traits<charT>,
  46.                 class Allocator = allocator<charT> > class basic_stringbuf;
  47.  
  48.         template <class charT, class traits = char_traits<charT>,
  49.                 class Allocator = allocator<charT> > class basic_istringstream;
  50.  
  51.         template <class charT, class traits = char_traits<charT>,
  52.                 class Allocator = allocator<charT> > class basic_ostringstream;
  53.  
  54.         template <class charT, class traits = char_traits<charT>,
  55.                 class Allocator = allocator<charT> > class basic_stringstream;
  56.  
  57.         template <class charT, class traits = char_traits<charT> > class basic_filebuf;
  58.  
  59.         template <class charT, class traits = char_traits<charT> > class basic_ifstream;
  60.  
  61.         template <class charT, class traits = char_traits<charT> > class basic_ofstream;
  62.  
  63.         template <class charT, class traits = char_traits<charT> > class basic_fstream;
  64.  
  65.         template <class charT, class traits = char_traits<charT> > class basic_istreambuf_iterator;
  66.  
  67.         template <class charT, class traits = char_traits<charT> > class basic_ostreambuf_iterator;
  68.  
  69.         typedef basic_ios<char>       ios;
  70. #ifdef __UCLIBCXX_HAS_WCHAR__
  71.         typedef basic_ios<wchar_t>    wios;
  72. #endif
  73.  
  74.         typedef basic_streambuf<char> streambuf;
  75.         typedef basic_istream<char>   istream;
  76.         typedef basic_ostream<char>   ostream;
  77.         typedef basic_iostream<char>  iostream;
  78.  
  79.         typedef basic_stringbuf<char>     stringbuf;
  80.         typedef basic_istringstream<char> istringstream;
  81.         typedef basic_ostringstream<char> ostringstream;
  82.         typedef basic_stringstream<char>  stringstream;
  83.  
  84.         typedef basic_filebuf<char>  filebuf;
  85.         typedef basic_ifstream<char> ifstream;
  86.         typedef basic_ofstream<char> ofstream;
  87.         typedef basic_fstream<char>  fstream;
  88. #ifdef __UCLIBCXX_HAS_WCHAR__
  89.         typedef basic_streambuf<wchar_t> wstreambuf;
  90.         typedef basic_istream<wchar_t>   wistream;
  91.         typedef basic_ostream<wchar_t>   wostream;
  92.         typedef basic_iostream<wchar_t>  wiostream;
  93.  
  94.         typedef basic_stringbuf<wchar_t>     wstringbuf;
  95.         typedef basic_istringstream<wchar_t> wistringstream;
  96.         typedef basic_ostringstream<wchar_t> wostringstream;
  97.         typedef basic_stringstream<wchar_t>  wstringstream;
  98.  
  99.         typedef basic_filebuf<wchar_t>  wfilebuf;
  100.         typedef basic_ifstream<wchar_t> wifstream;
  101.         typedef basic_ofstream<wchar_t> wofstream;
  102.         typedef basic_fstream<wchar_t>  wfstream;
  103. #endif
  104.        
  105.         template <class state> class fpos;
  106.         typedef fpos<char_traits<char>::state_type> streampos;
  107. #ifdef __UCLIBCXX_HAS_WCHAR__
  108.         typedef fpos<char_traits<wchar_t>::state_type> wstreampos;
  109. #endif
  110. }
  111.  
  112. #pragma GCC visibility pop
  113.  
  114. #endif
  115.