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

Comparing branches/new_design/OOPSE-4/src/io/SectionParser.hpp (file contents):
Revision 1783 by tim, Tue Nov 23 17:53:43 2004 UTC vs.
Revision 1784 by tim, Wed Nov 24 22:12:12 2004 UTC

# Line 26 | Line 26 | namespace oopse {
26   #ifndef IO_SECTIONPARSER_HPP
27   #define IO_SECTIONPARSER_HPP
28  
29 + #include <iostream>
30 + #include <string>
31 +
32 + #include "utils/StringTokenizer.hpp"
33 +
34   namespace oopse {
35  
36   class ForceField;
# Line 36 | Line 41 | class ForceField;
41       */
42      class SectionParser {
43          public:
44 <            void parse(std::istream&, ForceFiled* ff, int lineNo);
44 >            void parse(std::istream&, ForceField* ff, int lineNo);
45  
46              const std::string& getSectionName() const {
47 <                sectionName_;
47 >                return sectionName_;
48              }
49  
50          protected:
# Line 50 | Line 55 | class ForceField;
55          private:
56  
57              bool isEndSection(const std::string& line);
58 <            virtual void parseLine(ForceFiled& ff, const std::string& line, int lineNo) = 0;
58 >            virtual void parseLine(ForceField& ff, const std::string& line, int lineNo) = 0;
59              std::string sectionName_;
60      };
61  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines