45 |
|
|
46 |
|
#include "io/SectionParser.hpp" |
47 |
|
#include "types/DirectionalAtomType.hpp" |
48 |
+ |
#include "io/ForceFieldOptions.hpp" |
49 |
|
namespace oopse { |
50 |
< |
|
51 |
< |
/** |
52 |
< |
* @class GayBerneAtomTypesSectionParser GayBerneAtomTypesSectionParser.hpp "io/GayBerneAtomTypesSectionParser.hpp" |
50 |
> |
|
51 |
> |
/** |
52 |
> |
* @class GayBerneAtomTypesSectionParser GayBerneAtomTypesSectionParser.hpp "io/GayBerneAtomTypesSectionParser.hpp" |
53 |
|
*/ |
54 |
< |
class GayBerneAtomTypesSectionParser : public SectionParser { |
55 |
< |
public: |
56 |
< |
GayBerneAtomTypesSectionParser(); |
57 |
< |
|
58 |
< |
private: |
59 |
< |
virtual void parseLine(ForceField& ff, const std::string& line, int lineNo); |
60 |
< |
|
61 |
< |
//??????????? void parseCharge(StringTokenizer& tokenizer, AtomType* atomType); |
62 |
< |
//????????????? void parseDipole(StringTokenizer& tokenizer, DirectionalAtomType* dAtomType); |
63 |
< |
//???????????? void parseQuadruple(StringTokenizer& tokenizer, DirectionalAtomType* dAtomType); |
64 |
< |
//??????????????? void parseElectroBodyFrame(StringTokenizer& tokenizer, DirectionalAtomType* dAtomType); |
65 |
< |
}; |
66 |
< |
|
67 |
< |
|
54 |
> |
class GayBerneAtomTypesSectionParser : public SectionParser { |
55 |
> |
public: |
56 |
> |
GayBerneAtomTypesSectionParser(ForceFieldOptions& options); |
57 |
> |
|
58 |
> |
private: |
59 |
> |
virtual void parseLine(ForceField& ff, const std::string& line, int lineNo); |
60 |
> |
ForceFieldOptions& options_; |
61 |
> |
|
62 |
> |
//??????????? void parseCharge(StringTokenizer& tokenizer, AtomType* atomType); |
63 |
> |
//????????????? void parseDipole(StringTokenizer& tokenizer, DirectionalAtomType* dAtomType); |
64 |
> |
//???????????? void parseQuadruple(StringTokenizer& tokenizer, DirectionalAtomType* dAtomType); |
65 |
> |
//??????????????? void parseElectroBodyFrame(StringTokenizer& tokenizer, DirectionalAtomType* dAtomType); |
66 |
> |
}; |
67 |
> |
|
68 |
> |
|
69 |
|
} //namespace oopse |
70 |
|
|
71 |
|
#endif //IO_GAYBERNEATOMTYPESECTIONPARSER_HPP |