Parameter entry used to store the actual information inside of a Param entry.
More...
#include <OpenMS/DATASTRUCTURES/Param.h>
|
| std::string | name |
| | Name of the entry.
|
| |
| std::string | description |
| | Description of the entry.
|
| |
| ParamValue | value |
| | Value associated with the entry.
|
| |
| std::set< std::string > | tags |
| | Tags list, used e.g. for advanced parameter tag.
|
| |
|
| double | min_float |
| | Default: - std::numeric_limits<double>::max()
|
| |
| double | max_float |
| | Default: std::numeric_limits<double>::max()
|
| |
| int | min_int |
| | Default: - std::numeric_limits<Int>::max()
|
| |
| int | max_int |
| | Default: std::numeric_limits<Int>::max()
|
| |
| std::vector< std::string > | valid_strings |
| | Default: empty.
|
| |
Parameter entry used to store the actual information inside of a Param entry.
◆ ParamEntry() [1/4]
◆ ParamEntry() [2/4]
| ParamEntry |
( |
const std::string & |
n, |
|
|
const ParamValue & |
v, |
|
|
const std::string & |
d, |
|
|
const std::vector< std::string > & |
t = std::vector< std::string >() |
|
) |
| |
Constructor with name, description, value and advanced flag.
◆ ParamEntry() [3/4]
◆ ParamEntry() [4/4]
◆ ~ParamEntry()
◆ isValid()
| bool isValid |
( |
std::string & |
message | ) |
const |
Check if 'value' fulfills restrictions.
◆ operator=() [1/2]
◆ operator=() [2/2]
Move assignment operator.
◆ operator==()
Equality operator (only name and value are compared)
◆ description
Description of the entry.
◆ max_float
Default: std::numeric_limits<double>::max()
◆ max_int
Default: std::numeric_limits<Int>::max()
◆ min_float
Default: - std::numeric_limits<double>::max()
◆ min_int
Default: - std::numeric_limits<Int>::max()
◆ name
◆ tags
| std::set<std::string> tags |
Tags list, used e.g. for advanced parameter tag.
◆ valid_strings
| std::vector<std::string> valid_strings |
◆ value
Value associated with the entry.