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 3335 by chuckv, Thu Jan 24 21:38:53 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines