blob: 76cb2a84061dbade28036e19b19479f746ccbb85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
// 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 <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Expr_NamedExpression_HeaderFile
#include <Handle_Expr_NamedExpression.hxx>
#endif
#ifndef _TCollection_AsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#endif
#ifndef _Expr_GeneralExpression_HeaderFile
#include <Expr_GeneralExpression.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Expr_GeneralExpression_HeaderFile
#include <Handle_Expr_GeneralExpression.hxx>
#endif
class TCollection_AsciiString;
class Expr_GeneralExpression;
//! Describe an expression used by its name (as constants <br>
//! or variables). A single reference is made to a <br>
//! NamedExpression in every Expression (i.e. a <br>
//! NamedExpression is shared). <br>
class Expr_NamedExpression : public Expr_GeneralExpression {
public:
Standard_EXPORT const TCollection_AsciiString& GetName() const;
Standard_EXPORT void SetName(const TCollection_AsciiString& name) ;
//! Tests if <me> can be shared by one or more expressions <br>
//! or must be copied. This method redefines to a True <br>
//! value the GeneralExpression method. <br>
Standard_EXPORT virtual Standard_Boolean IsShareable() const;
//! Tests if <me> and <Other> define the same expression. <br>
//! This method does not include any simplification before <br>
//! testing. <br>
Standard_EXPORT Standard_Boolean IsIdentical(const Handle(Expr_GeneralExpression)& Other) const;
//! returns a string representing <me> in a readable way. <br>
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
|