OpenMS  2.7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SiriusAdapterAlgorithm::ParameterSection Class Referenceabstract
Inheritance diagram for SiriusAdapterAlgorithm::ParameterSection:
[legend]
Collaboration diagram for SiriusAdapterAlgorithm::ParameterSection:
[legend]

Public Member Functions

virtual ~ParameterSection ()=default
 
DataValue getValue (const String &param_name) const
 
QStringList getCommandLine () const
 

Protected Member Functions

ParameterModifier parameter (const String &parameter_name, const ParamValue &default_value, const String &parameter_description)
 
void flag (const String &parameter_name, const String &parameter_description)
 
 ParameterSection (SiriusAdapterAlgorithm *enclose)
 
virtual void parameters ()=0
 
virtual String sectionName () const =0
 

Protected Attributes

SiriusAdapterAlgorithmenclose
 

Private Member Functions

String toFullParameter (const String &param_name) const
 

Private Attributes

unordered_map< String, Stringopenms_to_sirius
 

Constructor & Destructor Documentation

◆ ParameterSection()

ParameterSection ( SiriusAdapterAlgorithm enclose)
inlineexplicitprotected

◆ ~ParameterSection()

virtual ~ParameterSection ( )
virtualdefault

Member Function Documentation

◆ flag()

void flag ( const String parameter_name,
const String parameter_description 
)
protected

◆ getCommandLine()

QStringList getCommandLine ( ) const
inline

◆ getValue()

DataValue getValue ( const String param_name) const
inline

◆ parameter()

ParameterModifier parameter ( const String parameter_name,
const ParamValue default_value,
const String parameter_description 
)
protected

◆ parameters()

virtual void parameters ( )
protectedpure virtual

◆ sectionName()

virtual String sectionName ( ) const
protectedpure virtual

◆ toFullParameter()

String toFullParameter ( const String param_name) const
inlineprivate

References String::substitute().

Member Data Documentation

◆ enclose

SiriusAdapterAlgorithm* enclose
protected

◆ openms_to_sirius

unordered_map<String, String> openms_to_sirius
private