ParamValue
- class pyopenms.ParamValue
Bases:
objectCython implementation of _ParamValue
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1ParamValue.html
To choose one of these types, just use the appropriate constructor
Automatic conversion is supported and throws Exceptions in case of invalid conversions
An empty object is created with the default constructor
- __init__()
Cython signature: void ParamValue()
Cython signature: void ParamValue(ParamValue &)
Cython signature: void ParamValue(char *)
Cython signature: void ParamValue(const libcpp_utf8_string &)
Cython signature: void ParamValue(int)
Cython signature: void ParamValue(double)
Cython signature: void ParamValue(libcpp_vector[libcpp_utf8_string])
Cython signature: void ParamValue(libcpp_vector[int])
Cython signature: void ParamValue(libcpp_vector[double])
Methods
Cython signature: void ParamValue()
Cython signature: int isEmpty() Test if the value is empty
Cython signature: bool toBool() Converts the strings 'true' and 'false' to a bool
Cython signature: libcpp_vector[double] toDoubleVector() Explicitly convert ParamValue to DoubleList
Cython signature: libcpp_vector[int] toIntVector() Explicitly convert ParamValue to IntList
Cython signature: libcpp_vector[libcpp_utf8_string] toStringVector() Explicitly convert ParamValue to string vector
Cython signature: ValueType valueType()
- isEmpty()
Cython signature: int isEmpty() Test if the value is empty
- toBool()
Cython signature: bool toBool() Converts the strings ‘true’ and ‘false’ to a bool
- toDouble()
- toDoubleVector()
Cython signature: libcpp_vector[double] toDoubleVector() Explicitly convert ParamValue to DoubleList
- toInt()
- toIntVector()
Cython signature: libcpp_vector[int] toIntVector() Explicitly convert ParamValue to IntList
- toString()
- toStringVector()
Cython signature: libcpp_vector[libcpp_utf8_string] toStringVector() Explicitly convert ParamValue to string vector
- valueType()
Cython signature: ValueType valueType()