• RuleActionParamList
  • RuleActionParamList Class

    Holds a list of RuleActionParams More...

    Header: #include <RuleActionParamList>
    Inherits:

    Public Functions

    bool hasParam(const ParamTypeId & ruleActionParamTypeId) const
    bool hasParam(const QString & ruleActionParamName) const
    QVariant paramValue(const ParamTypeId & ruleActionParamTypeId) const
    bool setParamValue(const ParamTypeId & ruleActionParamTypeId, const QVariant & value)
    RuleActionParamList operator<<(const RuleActionParam & ruleActionParam)

    Detailed Description

    Holds a list of RuleActionParams

    See also RuleActionParam and RuleAction.

    Member Function Documentation

    bool RuleActionParamList::hasParam(const ParamTypeId & ruleActionParamTypeId) const

    Returns true if this RuleActionParamList contains a RuleActionParam with the given ruleActionParamTypeId.

    bool RuleActionParamList::hasParam(const QString & ruleActionParamName) const

    Returns true if this RuleActionParamList contains a RuleActionParam with the given ruleActionParamName.

    QVariant RuleActionParamList::paramValue(const ParamTypeId & ruleActionParamTypeId) const

    Returns the value of the RuleActionParam with the given ruleActionParamTypeId.

    See also setParamValue().

    bool RuleActionParamList::setParamValue(const ParamTypeId & ruleActionParamTypeId, const QVariant & value)

    Returns true if the value of the RuleActionParam with the given ruleActionParamTypeId could be set successfully.

    See also paramValue().

    RuleActionParamList RuleActionParamList::operator<<(const RuleActionParam & ruleActionParam)

    Appends the given ruleActionParam to a RuleActionParamList.