Scippy

SoPlex

Sequential object-oriented simPlex

spxfileio.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the class library */
4 /* SoPlex --- the Sequential object-oriented simPlex. */
5 /* */
6 /* Copyright (C) 1996-2019 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SoPlex is distributed under the terms of the ZIB Academic Licence. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SoPlex; see the file COPYING. If not email to soplex@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file spxfileio.h
17  * @brief declaration of types for file output
18  *
19  * This is to make the use of compressed input files transparent
20  * when programming.
21  *
22  * @todo maybe rename this file (it is unrelated to spxfileio.cpp)
23  */
24 #ifndef _SPXFILEIO_H_
25 #define _SPXFILEIO_H_
26 
27 #include <iostream>
28 #include <fstream>
29 
30 /*-----------------------------------------------------------------------------
31  * compressed file support
32  *-----------------------------------------------------------------------------
33  */
34 #ifdef SOPLEX_WITH_ZLIB
35 #include "soplex/gzstream.h"
36 #endif // WITH_GSZSTREAM
37 
38 namespace soplex
39 {
40 #ifdef SOPLEX_WITH_ZLIB
41 typedef gzstream::igzstream spxifstream;
42 #else
43 typedef std::ifstream spxifstream;
44 #endif // SOPLEX_WITH_ZLIB
45 
46 } // namespace soplex
47 #endif // _SPXFILEIO_H_
Everything should be within this namespace.
std::ifstream spxifstream
Definition: spxfileio.h:43