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

Comparing trunk/OOPSE-2.0/src/io/TorsionTypesSectionParser.hpp (file contents):
Revision 1957 by tim, Tue Jan 25 17:45:23 2005 UTC vs.
Revision 2501 by chuckv, Thu Dec 8 15:38:49 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 43 | Line 43 | namespace oopse {
43   #define IO_TORSIONTYPESSECTIONPARSER_HPP
44   #include <map>
45   #include "io/SectionParser.hpp"
46 + #include "io/ForceFieldOptions.hpp"
47 +
48   namespace oopse {
49  
50 <    /**
51 <     * @class TorsionTypesSectionParser TorsionTypesSectionParser.hpp "io/TorsionTypesSectionParser.hpp"
52 <     */
53 <    class TorsionTypesSectionParser : public SectionParser {
54 <        public:
50 >  /**
51 >   * @class TorsionTypesSectionParser TorsionTypesSectionParser.hpp "io/TorsionTypesSectionParser.hpp"
52 >   */
53 >  class TorsionTypesSectionParser : public SectionParser {
54 >  public:
55  
56              
57 <            TorsionTypesSectionParser();
58 <        private:
57 >    TorsionTypesSectionParser(ForceFieldOptions& options);
58 >  private:
59  
60  
61 <            enum TorsionTypeEnum{
62 <                ttGhostTorsion,
63 <                ttCubic,
64 <                ttQuartic,
65 <                ttPolynomial,
66 <                ttCharmm,
67 <                ttUnknown
68 <            };
61 >    enum TorsionTypeEnum{
62 >      ttGhostTorsion,
63 >      ttCubic,
64 >      ttQuartic,
65 >      ttPolynomial,
66 >      ttCharmm,
67 >      ttUnknown
68 >    };
69  
70 <            TorsionTypeEnum getTorsionTypeEnum(const std::string& str);    
70 >    TorsionTypeEnum getTorsionTypeEnum(const std::string& str);    
71              
72 <            void parseLine(ForceField& ff, const std::string& line, int lineNo);
72 >    void parseLine(ForceField& ff, const std::string& line, int lineNo);
73              
74  
75 <            std::map<std::string, TorsionTypeEnum> stringToEnumMap_;
76 <    };
75 >    std::map<std::string, TorsionTypeEnum> stringToEnumMap_;
76 >    ForceFieldOptions& options_;
77 >  };
78  
79  
80   } //namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines