• ParamDescriptor
  • ParamDescriptor Class

    Describes a certain Param. More...

    Header: #include <ParamDescriptor>
    Inherits: Param

    Public Functions

    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)

    Detailed Description

    Describes a certain Param.

    An ParamDescriptor describes a Param in order to match it with a nymeaserver::Rule.

    See also Param and ParamType.

    Member Function Documentation

    ParamDescriptor::ParamDescriptor(const ParamTypeId & paramTypeId, const QVariant & value = QVariant())

    Constructs an ParamDescriptor describing an Param with the given paramTypeId and value. The ValueOperator is by default ValueOperatorEquals.

    ParamDescriptor::ParamDescriptor(const QString & paramName, const QVariant & value = QVariant())

    Constructs an ParamDescriptor describing an Param with the given paramName and value. The ValueOperator is by default ValueOperatorEquals.

    Types::ValueOperator ParamDescriptor::operatorType() const

    Returns the ValueOperator of this ParamDescriptor.

    See also setOperatorType().

    QString ParamDescriptor::paramName() const

    Returns the paramName of this ParamDescriptor.

    void ParamDescriptor::setOperatorType(Types::ValueOperator operatorType)

    Sets the ValueOperator of this ParamDescriptor to the given operatorType.

    See also operatorType().