Describes a certain Param. More...
Header: | #include <ParamDescriptor> |
Inherits: | Param |
ParamDescriptor(const ParamTypeId & paramTypeId, const QVariant & value = QVariant()) | |
ParamDescriptor(const QString & paramName, const QVariant & value = QVariant()) | |
Types::ValueOperator | operatorType() const |
QString | paramName() const |
void | setOperatorType(Types::ValueOperator operatorType) |
Describes a certain Param.
An ParamDescriptor describes a Param in order to match it with a nymeaserver::Rule.
Constructs an ParamDescriptor describing an Param with the given paramTypeId and value. The ValueOperator is by default ValueOperatorEquals.
Constructs an ParamDescriptor describing an Param with the given paramName and value. The ValueOperator is by default ValueOperatorEquals.
Returns the ValueOperator of this ParamDescriptor.
See also setOperatorType().
Returns the paramName of this ParamDescriptor.
Sets the ValueOperator of this ParamDescriptor to the given operatorType.
See also operatorType().