Open CASCADE Technology 6.6.0
|
Describe an expression used by its name (as constants
or variables). A single reference is made to a
NamedExpression in every Expression (i.e. a
NamedExpression is shared).
#include <Expr_NamedExpression.hxx>
Public Member Functions | |
const TCollection_AsciiString & | GetName () const |
void | SetName (const TCollection_AsciiString &name) |
virtual Standard_Boolean | IsShareable () const |
Tests if <me> can be shared by one or more expressions or must be copied. This method redefines to a True value the GeneralExpression method. | |
Standard_Boolean | IsIdentical (const Handle< Expr_GeneralExpression > &Other) const |
Tests if <me> and <Other> define the same expression. This method does not include any simplification before testing. | |
TCollection_AsciiString | String () const |
returns a string representing <me> in a readable way. |
const TCollection_AsciiString& Expr_NamedExpression::GetName | ( | ) | const |
Standard_Boolean Expr_NamedExpression::IsIdentical | ( | const Handle< Expr_GeneralExpression > & | Other | ) | const [virtual] |
Implements Expr_GeneralExpression.
virtual Standard_Boolean Expr_NamedExpression::IsShareable | ( | ) | const [virtual] |
Reimplemented from Expr_GeneralExpression.
void Expr_NamedExpression::SetName | ( | const TCollection_AsciiString & | name | ) |
TCollection_AsciiString Expr_NamedExpression::String | ( | ) | const [virtual] |
Implements Expr_GeneralExpression.