# | Line 27 | Line 27 | void SectionParser::parse(ifstrstream& input, ForceFie | |
---|---|---|
27 | ||
28 | namespace oopse { | |
29 | ||
30 | < | void SectionParser::parse(ifstrstream& input, ForceField& ff, int lineNo) { |
30 | > | void SectionParser::parse(std::istream& input, ForceField& ff, int lineNo) { |
31 | const int bufferSize = 65535; | |
32 | char buffer[bufferSize]; | |
33 | std::string line; | |
34 | while(input.getline(buffer, bufferSize)) { | |
35 | < | line = TrimLeft(buffer); |
35 | > | /**@todo */ |
36 | > | //line = TrimLeft(buffer); |
37 | //a line begins with "//" is comment | |
38 | if (isEndSection(line)) { | |
39 | break; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |