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 |
|
|