// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Expr_NamedExpression_HeaderFile #define _Expr_NamedExpression_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Expr_NamedExpression_HeaderFile #include #endif #ifndef _TCollection_AsciiString_HeaderFile #include #endif #ifndef _Expr_GeneralExpression_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Expr_GeneralExpression_HeaderFile #include #endif class TCollection_AsciiString; class Expr_GeneralExpression; //! 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).
class Expr_NamedExpression : public Expr_GeneralExpression { public: Standard_EXPORT const TCollection_AsciiString& GetName() const; Standard_EXPORT void SetName(const TCollection_AsciiString& name) ; //! Tests if can be shared by one or more expressions
//! or must be copied. This method redefines to a True
//! value the GeneralExpression method.
Standard_EXPORT virtual Standard_Boolean IsShareable() const; //! Tests if and define the same expression.
//! This method does not include any simplification before
//! testing.
Standard_EXPORT Standard_Boolean IsIdentical(const Handle(Expr_GeneralExpression)& Other) const; //! returns a string representing in a readable way.
Standard_EXPORT TCollection_AsciiString String() const; DEFINE_STANDARD_RTTI(Expr_NamedExpression) protected: private: TCollection_AsciiString myName; }; // other Inline functions and methods (like "C++: function call" methods) #endif