STK++ 0.9.13
STK_Stream.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23*/
24
25/*
26 * Project: Base
27 * Purpose: Surdefine the std streams for the STK fundamental types.
28 * Author: Serge Iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29 *
30 **/
31
37#ifndef STK_STREAM_H
38#define STK_STREAM_H
39
40#include <iostream>
41#include <fstream>
42#include <sstream>
43
44namespace STK
45{
51typedef std::basic_ios<Char> ios;
53typedef std::basic_streambuf<Char> streambuf;
55typedef std::basic_istream<Char> istream;
57typedef std::basic_ostream<Char> ostream;
59typedef std::basic_iostream<Char> iostream;
61typedef std::basic_stringbuf<Char> stringbuf;
63typedef std::basic_istringstream<Char> istringstream;
65typedef std::basic_ostringstream<Char> ostringstream;
67typedef std::basic_stringstream<Char> stringstream;
69typedef std::basic_filebuf<Char> filebuf;
71typedef std::basic_ifstream<Char> ifstream;
73typedef std::basic_ofstream<Char> ofstream;
74/***/
75typedef std::basic_fstream<Char> fstream;
76
78} // namespace STK
79
80#endif /* STK_STREAM_H */
std::basic_iostream< Char > iostream
iostream for Char
Definition STK_Stream.h:59
std::basic_ostream< Char > ostream
ostream for Char
Definition STK_Stream.h:57
std::basic_stringbuf< Char > stringbuf
stringbuf for Char
Definition STK_Stream.h:61
std::basic_ios< Char > ios
ios for Char
Definition STK_Stream.h:51
std::basic_ostringstream< Char > ostringstream
ostringstream (ostringstream) for Char
Definition STK_Stream.h:65
std::basic_streambuf< Char > streambuf
streambuf for Char
Definition STK_Stream.h:53
std::basic_ifstream< Char > ifstream
ifstream for Char
Definition STK_Stream.h:71
std::basic_stringstream< Char > stringstream
stringstream for Char
Definition STK_Stream.h:67
std::basic_istringstream< Char > istringstream
istringstream for Char
Definition STK_Stream.h:63
std::basic_fstream< Char > fstream
Definition STK_Stream.h:75
std::basic_istream< Char > istream
istream for Char
Definition STK_Stream.h:55
std::basic_filebuf< Char > filebuf
filebuf for Char
Definition STK_Stream.h:69
std::basic_ofstream< Char > ofstream
ofstream for Char
Definition STK_Stream.h:73
The namespace STK is the main domain space of the Statistical ToolKit project.