File indexing completed on 2025-01-18 10:03:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _Express_NamedType_HeaderFile
0015 #define _Express_NamedType_HeaderFile
0016
0017 #include <Express_Type.hxx>
0018 #include <Standard_Type.hxx>
0019
0020 class Express_Item;
0021 class TCollection_AsciiString;
0022 class TCollection_HAsciiString;
0023
0024
0025
0026
0027 class Express_NamedType : public Express_Type
0028 {
0029
0030 public:
0031
0032
0033 Standard_EXPORT Express_NamedType (const Standard_CString theName);
0034
0035
0036 Standard_EXPORT Express_NamedType (const Handle(TCollection_HAsciiString)& theName);
0037
0038
0039 Standard_EXPORT const TCollection_AsciiString& Name() const;
0040
0041
0042 Standard_EXPORT Handle(TCollection_HAsciiString) HName() const;
0043
0044
0045 Standard_EXPORT const Handle(Express_Item)& Item() const;
0046
0047
0048 Standard_EXPORT void SetItem (const Handle(Express_Item)& theItem);
0049
0050
0051 Standard_EXPORT virtual const TCollection_AsciiString CPPName() const Standard_OVERRIDE;
0052
0053
0054 Standard_EXPORT virtual Standard_Boolean IsStandard() const Standard_OVERRIDE;
0055
0056
0057 Standard_EXPORT virtual Standard_Boolean IsSimple() const Standard_OVERRIDE;
0058
0059
0060 Standard_EXPORT virtual Standard_Boolean IsHandle() const Standard_OVERRIDE;
0061
0062
0063
0064 Standard_EXPORT virtual Standard_Boolean Use() const Standard_OVERRIDE;
0065
0066
0067
0068 Standard_EXPORT virtual void Use2 (const TCollection_AsciiString& theRefName, const TCollection_AsciiString& theRefPack) const Standard_OVERRIDE;
0069
0070 DEFINE_STANDARD_RTTIEXT(Express_NamedType, Express_Type)
0071
0072 protected:
0073
0074 private:
0075
0076 Handle(TCollection_HAsciiString) myName;
0077 Handle(Express_Item) myItem;
0078
0079 };
0080
0081 #endif