#include <Expr_NamedUnknown.hxx>
Inheritance diagram for Expr_NamedUnknown:

Public Member Functions | |
| Standard_EXPORT | Expr_NamedUnknown (const TCollection_AsciiString &name) |
| Standard_Boolean | IsAssigned () const |
| Tests if an expression is assigned to <me>. . | |
| Standard_EXPORT const Handle_Expr_GeneralExpression & | AssignedExpression () const |
| If exists, returns the assigned expression. An exception is raised if the expression does not exist. . | |
| Standard_EXPORT void | Assign (const Handle(Expr_GeneralExpression)&exp) |
| Assigns <me> to <exp> expression. Raises exception if <exp> refers to <me>. . | |
| void | Deassign () |
| Supresses the assigned expression . | |
| 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 Handle_Expr_GeneralExpression | Simplified () const |
| Returns a GeneralExpression after replacement of NamedUnknowns by an associated expression and after values computation. . | |
| Standard_EXPORT Handle_Expr_GeneralExpression | ShallowSimplified () const |
| Returns a GeneralExpression after a simplification of the arguments of <me>. . | |
| Standard_EXPORT Handle_Expr_GeneralExpression | Copy () const |
| Returns a copy of <me> having the same unknowns and functions. . | |
| Standard_EXPORT Standard_Boolean | ContainsUnknowns () const |
| Tests if <me> contains NamedUnknown. . | |
| Standard_EXPORT Standard_Boolean | Contains (const Handle(Expr_GeneralExpression)&exp) const |
| Tests if <exp> is contained in <me>. . | |
| Standard_EXPORT Standard_Boolean | IsLinear () const |
| Tests if <me> is linear on every NamedUnknown it contains. . | |
| Standard_EXPORT Handle_Expr_GeneralExpression | Derivative (const Handle(Expr_NamedUnknown)&X) const |
| Returns the derivative on <x> unknown of <me> . | |
| 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 Standard_Real | Evaluate (const Expr_Array1OfNamedUnknown &vars, const TColStd_Array1OfReal &vals) const |
| Returns the value of <me> (as a Real) by replacement of <vars> by <vals>. Raises NotEvaluable if <me> contains NamedUnknown not in <vars> or NumericError if result cannot be computed. . | |
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
| Handle_Expr_GeneralExpression | myExpression |
|
|
|
|
|
|
|
|
|
|
|
Implements Expr_GeneralExpression. |
|
|
Implements Expr_GeneralExpression. |
|
|
Implements Expr_GeneralExpression. |
|
|
|
|
|
Implements Expr_GeneralExpression. |
|
||||||||||||
|
Implements Expr_GeneralExpression. |
|
|
Reimplemented from Expr_NamedExpression. |
|
|
|
|
|
Implements Expr_GeneralExpression. |
|
|
Implements Expr_GeneralExpression. |
|
||||||||||||
|
Implements Expr_GeneralExpression. |
|
|
Implements Expr_GeneralExpression. |
|
|
Implements Expr_GeneralExpression. |
|
|
Implements Expr_GeneralExpression. |
|
|
|
1.4.1