ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/io/basic_ifstrstream.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/io/basic_ifstrstream.hpp (file contents):
Revision 1572 by tim, Fri Oct 15 15:20:14 2004 UTC vs.
Revision 1582 by tim, Fri Oct 15 20:42:25 2004 UTC

# Line 38 | Line 38
38   #include <sstream>
39  
40   #ifdef IS_MPI
41 < #include <mpi.hpp>
41 > #include <mpi.h>
42   #endif
43  
44   namespace oopse {
# Line 118 | Line 118 | class basic_ifstrstream : public basic_istream<_CharT,
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();
# Line 175 | Line 175 | class basic_ifstrstream : public basic_istream<_CharT,
175           * parallel mode) associated with the stream.
176           */
177          _Buf* rdbuf() const{
178 <            return const_cast<_Buf*>(internalBuf_);
178 >            return static_cast<_Buf*>(internalBuf_);
179          }
180  
181      private:
# Line 338 | Line 338 | typedef basic_istringstream<char, char_traits<char>, a
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines