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 1784 by tim, Wed Nov 24 22:12:12 2004 UTC vs.
Revision 1800 by tim, Tue Nov 30 04:14:43 2004 UTC

# Line 37 | Line 37 | namespace oopse {
37              BondTypesSectionParser();
38              
39          private:
40 <            void parseLine(ForceField& 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