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

Comparing branches/new_design/OOPSE-4/src/io/BondTypesSectionParser.hpp (file contents):
Revision 1768 by tim, Tue Nov 23 04:35:55 2004 UTC vs.
Revision 1800 by tim, Tue Nov 30 04:14:43 2004 UTC

# Line 33 | Line 33 | namespace oopse {
33       * @class BondTypesSectionParser BondTypesSectionParser.hpp "io/BondTypesSectionParser.hpp"
34       */
35      class BondTypesSectionParser : public SectionParser {
36 +        public:
37 +            BondTypesSectionParser();
38 +            
39          private:
40 <            void parseLine(ForceFiled& ff, const std::string& line, int lineNo);
40 >
41 >            enum BondTypeEnum{
42 >                btFixed,
43 >                btHarmonic,
44 >                btCubic,
45 >                btQuartic,
46 >                btPolynomial,
47 >                btUnknown
48 >            };
49              
50 +            void parseLine(ForceField& ff, const std::string& line, int lineNo);
51 +  
52 +            BondTypeEnum getTorsionTypeEnum(const std::string& str);  
53 +
54 +            std::map<std::string, BondTypeEnum> stringToEnumMap_;  
55      };
56  
57  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines