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

Comparing branches/new_design/OOPSE-4/src/io/BendTypesSectionParser.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              BendTypesSectionParser();
38              
39          private:
40 <            void parseLine(ForceField& ff, const std::string& line, int lineNo);
40 >
41 >            enum BendTypeEnum{
42 >                btHarmonic,
43 >                btGhostBend,
44 >                btUreyBradley,
45 >                btCubic,
46 >                btQuartic,
47 >                btPolynomial,
48 >                btUnknown
49 >            };
50              
51 +            void parseLine(ForceField& ff, const std::string& line, int lineNo);
52 +
53 +            BendTypeEnum getTorsionTypeEnum(const std::string& str);  
54 +
55 +            std::map<std::string, BendTypeEnum> stringToEnumMap_;              
56      };
57  
58  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines