38 |
|
#include <sstream> |
39 |
|
|
40 |
|
#ifdef IS_MPI |
41 |
< |
#include <mpi.hpp> |
41 |
> |
#include <mpi.h> |
42 |
|
#endif |
43 |
|
|
44 |
|
namespace oopse { |
118 |
|
} |
119 |
|
|
120 |
|
/** |
121 |
< |
* |
121 |
> |
* virtual destructor will close the file(in single mode) and clear the stream buffer |
122 |
|
*/ |
123 |
|
~basic_ifstrstream(){ |
124 |
|
close(); |
338 |
|
bool isRead; /** file opened flag */ |
339 |
|
}; |
340 |
|
|
341 |
< |
typedef basic_istringstream<char, char_traits<char>, allocator<char> > ifstringstream; |
341 |
> |
typedef basic_ifstrstream<char, char_traits<char>, allocator<char> > ifstrstream; |
342 |
|
}//namespace oopse |
343 |
|
#endif //IO_IFSTRSTREAM_HPP |