OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::OptionSectionParser Class Reference

#include "io/OptionSectionParser.hpp"

Inheritance diagram for OpenMD::OptionSectionParser:

Public Member Functions

 OptionSectionParser (ForceFieldOptions &options)
virtual void validateSection ()
- Public Member Functions inherited from OpenMD::SectionParser
virtual ~SectionParser ()
void parse (std::istream &input, ForceField &ff, int lineNo)
const std::string & getSectionName () const

Private Member Functions

virtual void parseLine (ForceField &ff, const std::string &line, int lineNo)

Private Attributes


Additional Inherited Members

- Protected Member Functions inherited from OpenMD::SectionParser
void setSectionName (const std::string &sectionName)

Detailed Description

Definition at line 60 of file OptionSectionParser.hpp.

Constructor & Destructor Documentation

◆ OptionSectionParser()

OpenMD::OptionSectionParser::OptionSectionParser ( ForceFieldOptions options)

Definition at line 54 of file OptionSectionParser.cpp.

References OpenMD::SectionParser::setSectionName().

Member Function Documentation

◆ parseLine()

void OpenMD::OptionSectionParser::parseLine ( ForceField ff,
const std::string &  line,
int  lineNo 

◆ validateSection()

void OpenMD::OptionSectionParser::validateSection ( )

Reimplemented from OpenMD::SectionParser.

Definition at line 77 of file OptionSectionParser.cpp.

References options_, and OpenMD::ForceFieldOptions::validateOptions().

Member Data Documentation

◆ options_

ForceFieldOptions& OpenMD::OptionSectionParser::options_

Definition at line 67 of file OptionSectionParser.hpp.

Referenced by parseLine(), and validateSection().

The documentation for this class was generated from the following files: