ParamValue#

class pyopenms.ParamValue(value=None)#

Bases: object

Python wrapper for ParamValue providing backward compatibility.

In nanobind, ParamValue uses a type caster for transparent C++ <-> Python conversion, so we cannot use nb::class_<ParamValue>. This pure-Python wrapper provides the same API as the old Cython ParamValue.

__init__(value=None)#

Methods

Attributes

DOUBLE_LIST = 5#
DOUBLE_VALUE = 2#
EMPTY_VALUE = 6#
INT_LIST = 4#
INT_VALUE = 1#
STRING_LIST = 3#
STRING_VALUE = 0#
isEmpty()#
toBool()#
toDouble()#
toDoubleVector()#
toInt()#
toIntVector()#
toString()#
toStringVector()#
valueType()#