/usr/include/oce/Expr_NamedExpression.hxx is in liboce-foundation-dev 0.18.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | // 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
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Expr_NamedExpression.hxx>
#include <TCollection_AsciiString.hxx>
#include <Expr_GeneralExpression.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Expr_GeneralExpression.hxx>
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 <me> 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 <me> and <Other> 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 <me> in a readable way.
Standard_EXPORT TCollection_AsciiString String() const;
DEFINE_STANDARD_RTTI(Expr_NamedExpression)
protected:
private:
TCollection_AsciiString myName;
};
#endif // _Expr_NamedExpression_HeaderFile
|