|
Open CASCADE Technology 6.5.2
|
#include <Expr_UnaryExpression.hxx>

Public Member Functions | |
| const Handle_Expr_GeneralExpression & | Operand () const |
| Returns the operand used | |
| void | SetOperand (const Handle< Expr_GeneralExpression > &exp) |
| Sets the operand used Raises InvalidOperand if <exp> contains <me>. | |
| Standard_Integer | NbSubExpressions () const |
| Returns the number of sub-expressions contained in <me> ( >= 0) | |
| const Handle_Expr_GeneralExpression & | SubExpression (const Standard_Integer I) const |
| Returns the -th sub-expression of <me>. Raises OutOfRange if > NbSubExpressions(me) | |
| Standard_Boolean | ContainsUnknowns () const |
| Does <me> contains NamedUnknown ? | |
| Standard_Boolean | Contains (const Handle< Expr_GeneralExpression > &exp) const |
| Tests if <exp> is contained in <me>. | |
| 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>. | |
| Handle_Expr_GeneralExpression | Simplified () const |
| Returns a GeneralExpression after replacement of NamedUnknowns by an associated expression, and after values computation. | |
Protected Member Functions | |
| void | CreateOperand (const Handle< Expr_GeneralExpression > &exp) |
| Sets the operand used during creation | |
| Standard_Boolean Expr_UnaryExpression::Contains | ( | const Handle< Expr_GeneralExpression > & | exp | ) | const [virtual] |
Implements Expr_GeneralExpression.
| Standard_Boolean Expr_UnaryExpression::ContainsUnknowns | ( | ) | const [virtual] |
Implements Expr_GeneralExpression.
| void Expr_UnaryExpression::CreateOperand | ( | const Handle< Expr_GeneralExpression > & | exp | ) | [protected] |
| Standard_Integer Expr_UnaryExpression::NbSubExpressions | ( | ) | const [virtual] |
Implements Expr_GeneralExpression.
| const Handle_Expr_GeneralExpression& Expr_UnaryExpression::Operand | ( | ) | const |
| void Expr_UnaryExpression::Replace | ( | const Handle< Expr_NamedUnknown > & | var, |
| const Handle< Expr_GeneralExpression > & | with | ||
| ) | [virtual] |
Implements Expr_GeneralExpression.
| void Expr_UnaryExpression::SetOperand | ( | const Handle< Expr_GeneralExpression > & | exp | ) |
| Handle_Expr_GeneralExpression Expr_UnaryExpression::Simplified | ( | ) | const [virtual] |
Implements Expr_GeneralExpression.
| const Handle_Expr_GeneralExpression& Expr_UnaryExpression::SubExpression | ( | const Standard_Integer | I | ) | const [virtual] |
Implements Expr_GeneralExpression.
1.7.4