Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::anonymous_namespace{timeunitmanager.cpp}::TimeOptionScaler< FloatingPointOptionInfo > Class Template Reference
+ Inheritance diagram for gmx::anonymous_namespace{timeunitmanager.cpp}::TimeOptionScaler< FloatingPointOptionInfo >:
+ Collaboration diagram for gmx::anonymous_namespace{timeunitmanager.cpp}::TimeOptionScaler< FloatingPointOptionInfo >:

Description

template<class FloatingPointOptionInfo>
class gmx::anonymous_namespace{timeunitmanager.cpp}::TimeOptionScaler< FloatingPointOptionInfo >

Option visitor that scales time options.

Template Parameters
FloatingPointOptionInfoOptionInfo type for an option that provides isTime() and setScaleFactor() methods.

Public Member Functions

 TimeOptionScaler (double factor)
 Initializes a scaler with the given factor.
 
void visitSection (OptionSectionInfo *section) override
 Called for each section.
 
void visitOptionType (FloatingPointOptionInfo *option) override
 Called for each option of type InfoType.
 

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