ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/io/SectionParser.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/io/SectionParser.cpp (file contents):
Revision 1808 by tim, Mon Nov 29 15:27:43 2004 UTC vs.
Revision 1809 by tim, Wed Dec 1 02:24:57 2004 UTC

# Line 24 | Line 24
24   */
25  
26   #include "io/SectionParser.hpp"
27 <
27 > #include "utils/Trim.hpp"
28   namespace oopse {
29  
30   void SectionParser::parse(std::istream& input, ForceField& ff, int lineNo) {
# Line 33 | Line 33 | void SectionParser::parse(std::istream& input, ForceFi
33      std::string line;
34      while(input.getline(buffer, bufferSize)) {
35          /**@todo */
36 <        //line = TrimLeft(buffer);
36 >        line = trimLeftCopy(buffer);
37          //a line begins with "//" is comment
38          if (isEndSection(line)) {
39              break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines