#include <Expr_BinaryExpression.hxx>
Inheritance diagram for Expr_BinaryExpression:
Public Member Functions | |
const Handle_Expr_GeneralExpression & | FirstOperand () const |
const Handle_Expr_GeneralExpression & | SecondOperand () const |
Standard_EXPORT void | SetFirstOperand (const Handle(Expr_GeneralExpression)&exp) |
Sets first operand of <me> Raises InvalidOperand if exp = me . | |
Standard_EXPORT void | SetSecondOperand (const Handle(Expr_GeneralExpression)&exp) |
Sets second operand of <me> Raises InvalidOperand if <exp> contains <me>. . | |
Standard_EXPORT Standard_Integer | NbSubExpressions () const |
returns the number of sub-expressions contained in <me> ( >= 0) | |
Standard_EXPORT const Handle_Expr_GeneralExpression & | SubExpression (const Standard_Integer I) const |
returns the -th sub-expression of <me> raises OutOfRange if > NbSubExpressions(me) | |
Standard_EXPORT Standard_Boolean | ContainsUnknowns () const |
Does <me> contain NamedUnknown ? . | |
Standard_EXPORT Standard_Boolean | Contains (const Handle(Expr_GeneralExpression)&exp) const |
Tests if <me> contains <exp>. . | |
Standard_EXPORT void | Replace (const Handle(Expr_NamedUnknown)&var, const Handle(Expr_GeneralExpression)&with) |
Replaces all occurences of with <with> in <me>. Raises InvalidOperand if <with> contains <me>. . | |
Standard_EXPORT Handle_Expr_GeneralExpression | Simplified () const |
Returns a GeneralExpression after replacement of NamedUnknowns by an associated expression and after values computation. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT void | CreateFirstOperand (const Handle(Expr_GeneralExpression)&exp) |
Sets first operand of <me> . | |
Standard_EXPORT void | CreateSecondOperand (const Handle(Expr_GeneralExpression)&exp) |
Sets second operand of <me> Raises InvalidOperand if <exp> contains <me>. . | |
Private Attributes | |
Handle_Expr_GeneralExpression | myFirstOperand |
Handle_Expr_GeneralExpression | mySecondOperand |
|
Implements Expr_GeneralExpression. |
|
Implements Expr_GeneralExpression. |
|
|
|
|
|
|
|
Reimplemented from Expr_GeneralExpression. Reimplemented in Expr_BinaryFunction, Expr_Difference, Expr_Division, and Expr_Exponentiate. |
|
Implements Expr_GeneralExpression. |
|
Implements Expr_GeneralExpression. |
|
|
|
|
|
|
|
Implements Expr_GeneralExpression. |
|
Implements Expr_GeneralExpression. |
|
|
|
|