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

Comparing branches/new_design/OOPSE-2.0/src/io/TorsionTypesSectionParser.hpp (file contents):
Revision 1798 by tim, Wed Nov 24 22:12:12 2004 UTC vs.
Revision 1799 by tim, Tue Nov 30 03:49:22 2004 UTC

# Line 25 | Line 25
25  
26   #ifndef IO_TORSIONTYPESSECTIONPARSER_HPP
27   #define IO_TORSIONTYPESSECTIONPARSER_HPP
28 <
28 > #include <map>
29   #include "io/SectionParser.hpp"
30   namespace oopse {
31  
# Line 33 | Line 33 | namespace oopse {
33       * @class TorsionTypesSectionParser TorsionTypesSectionParser.hpp "io/TorsionTypesSectionParser.hpp"
34       */
35      class TorsionTypesSectionParser : public SectionParser {
36 +        public:
37 +
38 +            
39 +            TorsionTypesSectionParser();
40          private:
41 +
42 +
43 +            enum TorsionTypeEnum{
44 +                ttCubic,
45 +                ttQuartic,
46 +                ttPolynomial,
47 +                ttCharmm,
48 +                ttUnknown
49 +            };
50 +
51 +            TorsionTypeEnum getTorsionTypeEnum(const std::string& str);    
52 +            
53              void parseLine(ForceField& ff, const std::string& line, int lineNo);
54              
55 +
56 +            std::map<std::string, TorsionTypeEnum> stringToEnumMap_;
57      };
58  
59  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines