company logo

Property :: expandFilter - Expand filter condition

The function expands the condition currently set as filter with the expression passed in vExpression combining it with AND or OR depending on the value passed in bOr.

Return value:  Old Filter ( odaba::String & )

Implementation details

odaba::String Property  :: expandFilter ( odaba::String &vExpression, bool bOr )
  • vExpression - OSI inline expression

    An inline expression can be passed as operation path, as operand (something like a + b) or as complete expression. As operand, an expression may contain any expression, which is allowed in a statement, but no semicolon must be appended at the end.

    Complete expressions include expression header (optional) and may include different sections in the expression body which is enclosed in { ... }.

    In contrast to class expressions, inline expressions are not defined explicitly as class expressions but passed as strings to the application at run-time.

    In order to pass no expression, an empty string ( String() ) has to be passed.

  • bOr - OR option

    The or option indicates that an OR operation has been requested (true) rather than an AND operation (false).