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

Comparing trunk/OOPSE-4/src/utils/ElementsTable.cpp (file contents):
Revision 3319 by gezelter, Wed Jan 23 03:45:33 2008 UTC vs.
Revision 3448 by gezelter, Thu Sep 11 19:40:59 2008 UTC

# Line 30 | Line 30 | GNU General Public License for more details.
30   */
31  
32   #include "config.h"
33 + #include <cstdlib>
34   #include <string>
35   #include <fstream>
36 + #include <cstdlib>
37   #include "utils/ElementsTable.hpp"
38   #include "utils/simError.h"
39 + #include "io/basic_ifstrstream.hpp"
40  
41   #if !HAVE_STRNCASECMP
42   extern "C" int strncasecmp(const char *s1, const char *s2, size_t n);
# Line 284 | Line 287 | namespace oopse {
287      init_ = true;
288      
289      std::string buffer, subbuffer;
290 <    std::ifstream ifs1, ifs2, ifs3, ifs4, *ifsP;
290 >    ifstrstream ifs1, ifs2, ifs3, ifs4, *ifsP;
291      // First, look for an environment variable
292      if (getenv(envvar_.c_str()) != NULL) {
293        buffer = getenv(envvar_.c_str());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines