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 3446 by cli2, Wed Sep 10 19:51:45 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 "utils/ElementsTable.hpp"
37   #include "utils/simError.h"
38 + #include "io/basic_ifstrstream.hpp"
39  
40   #if !HAVE_STRNCASECMP
41   extern "C" int strncasecmp(const char *s1, const char *s2, size_t n);
# Line 284 | Line 286 | namespace oopse {
286      init_ = true;
287      
288      std::string buffer, subbuffer;
289 <    std::ifstream ifs1, ifs2, ifs3, ifs4, *ifsP;
289 >    ifstrstream ifs1, ifs2, ifs3, ifs4, *ifsP;
290      // First, look for an environment variable
291      if (getenv(envvar_.c_str()) != NULL) {
292        buffer = getenv(envvar_.c_str());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines