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

#include "io/OptionSectionParser.hpp"

Inheritance diagram for OpenMD::OptionSectionParser:
OpenMD::SectionParser

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

ForceFieldOptionsoptions_
 

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

◆ validateSection()

void OpenMD::OptionSectionParser::validateSection ( )
virtual

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

Definition at line 67 of file OptionSectionParser.hpp.

Referenced by parseLine(), and validateSection().


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