/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/utility/iosfwd

  • Committer: edam
  • Date: 2012-02-28 16:50:26 UTC
  • Revision ID: edam@waxworlds.org-20120228165026-pwnwo300xx2e2kg6
removed ulibc, fixed button, added text rendering

Show diffs side-by-side

added added

removed removed

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
 
#ifdef ARDUINO  
31
 
class HardwareSerial;
32
 
#endif
33
 
 
34
 
namespace std {
35
 
        class ios_base;
36
 
        template<> class char_traits<char>;
37
 
 
38
 
#ifdef __UCLIBCXX_HAS_WCHAR__
39
 
        template<> class char_traits<wchar_t>;
40
 
#endif
41
 
 
42
 
        template <class charT, class traits = char_traits<charT> > class basic_ios;
43
 
 
44
 
        template <class charT, class traits = char_traits<charT> > class basic_streambuf;
45
 
        template <class charT, class traits = char_traits<charT> > class basic_istream;
46
 
        template <class charT, class traits = char_traits<charT> > class basic_ostream;
47
 
        template <class charT, class traits = char_traits<charT> > class basic_iostream;
48
 
 
49
 
        template <class charT, class traits = char_traits<charT>, 
50
 
                class Allocator = allocator<charT> > class basic_stringbuf;
51
 
 
52
 
        template <class charT, class traits = char_traits<charT>, 
53
 
                class Allocator = allocator<charT> > class basic_istringstream;
54
 
 
55
 
        template <class charT, class traits = char_traits<charT>,
56
 
                class Allocator = allocator<charT> > class basic_ostringstream;
57
 
 
58
 
        template <class charT, class traits = char_traits<charT>,
59
 
                class Allocator = allocator<charT> > class basic_stringstream;
60
 
 
61
 
        template <class charT, class traits = char_traits<charT> > class basic_filebuf;
62
 
 
63
 
        template <class charT, class traits = char_traits<charT> > class basic_ifstream;
64
 
 
65
 
        template <class charT, class traits = char_traits<charT> > class basic_ofstream;
66
 
 
67
 
        template <class charT, class traits = char_traits<charT> > class basic_fstream;
68
 
 
69
 
        template <class charT, class traits = char_traits<charT> > class basic_istreambuf_iterator;
70
 
 
71
 
        template <class charT, class traits = char_traits<charT> > class basic_ostreambuf_iterator;
72
 
 
73
 
        typedef basic_ios<char>       ios;
74
 
#ifdef __UCLIBCXX_HAS_WCHAR__
75
 
        typedef basic_ios<wchar_t>    wios;
76
 
#endif
77
 
 
78
 
        typedef basic_streambuf<char> streambuf;
79
 
        typedef basic_istream<char>   istream;
80
 
        typedef basic_ostream<char>   ostream;
81
 
        typedef basic_iostream<char>  iostream;
82
 
 
83
 
        typedef basic_stringbuf<char>     stringbuf;
84
 
        typedef basic_istringstream<char> istringstream;
85
 
        typedef basic_ostringstream<char> ostringstream;
86
 
        typedef basic_stringstream<char>  stringstream;
87
 
 
88
 
        typedef basic_filebuf<char>  filebuf;
89
 
        typedef basic_ifstream<char> ifstream;
90
 
        typedef basic_ofstream<char> ofstream;
91
 
        typedef basic_fstream<char>  fstream;
92
 
#ifdef __UCLIBCXX_HAS_WCHAR__
93
 
        typedef basic_streambuf<wchar_t> wstreambuf;
94
 
        typedef basic_istream<wchar_t>   wistream;
95
 
        typedef basic_ostream<wchar_t>   wostream;
96
 
        typedef basic_iostream<wchar_t>  wiostream;
97
 
 
98
 
        typedef basic_stringbuf<wchar_t>     wstringbuf;
99
 
        typedef basic_istringstream<wchar_t> wistringstream;
100
 
        typedef basic_ostringstream<wchar_t> wostringstream;
101
 
        typedef basic_stringstream<wchar_t>  wstringstream;
102
 
 
103
 
        typedef basic_filebuf<wchar_t>  wfilebuf;
104
 
        typedef basic_ifstream<wchar_t> wifstream;
105
 
        typedef basic_ofstream<wchar_t> wofstream;
106
 
        typedef basic_fstream<wchar_t>  wfstream;
107
 
#endif
108
 
 
109
 
#ifdef ARDUINO
110
 
        using ::HardwareSerial;
111
 
        template <class charT, class traits = char_traits<charT>, class Tserial=HardwareSerial> class basic_serialbuf;
112
 
        template <class charT, class traits = char_traits<charT>, class Tserial=HardwareSerial> class basic_iserialstream;
113
 
        template <class charT, class traits = char_traits<charT>, class Tserial=HardwareSerial> class basic_oserialstream;
114
 
 
115
 
        typedef basic_iserialstream<char> ihserialstream;
116
 
        typedef basic_oserialstream<char> ohserialstream;
117
 
#endif
118
 
        
119
 
        template <class state> class fpos;
120
 
        typedef fpos<char_traits<char>::state_type> streampos;
121
 
#ifdef __UCLIBCXX_HAS_WCHAR__
122
 
        typedef fpos<char_traits<wchar_t>::state_type> wstreampos;
123
 
#endif
124
 
}
125
 
 
126
 
#pragma GCC visibility pop
127
 
 
128
 
#endif