File indexing completed on 2025-01-18 10:05:06
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepData_Simple_HeaderFile
0018 #define _StepData_Simple_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <StepData_FieldListN.hxx>
0024 #include <StepData_Described.hxx>
0025 #include <Standard_CString.hxx>
0026 #include <Standard_Integer.hxx>
0027 class StepData_ESDescr;
0028 class StepData_Field;
0029 class Interface_Check;
0030 class Interface_EntityIterator;
0031
0032
0033 class StepData_Simple;
0034 DEFINE_STANDARD_HANDLE(StepData_Simple, StepData_Described)
0035
0036
0037
0038 class StepData_Simple : public StepData_Described
0039 {
0040
0041 public:
0042
0043
0044
0045 Standard_EXPORT StepData_Simple(const Handle(StepData_ESDescr)& descr);
0046
0047
0048 Standard_EXPORT Handle(StepData_ESDescr) ESDescr() const;
0049
0050
0051 Standard_EXPORT Standard_CString StepType() const;
0052
0053
0054 Standard_EXPORT Standard_Boolean IsComplex() const Standard_OVERRIDE;
0055
0056
0057
0058
0059 Standard_EXPORT Standard_Boolean Matches (const Standard_CString steptype) const Standard_OVERRIDE;
0060
0061
0062
0063
0064 Standard_EXPORT Handle(StepData_Simple) As (const Standard_CString steptype) const Standard_OVERRIDE;
0065
0066
0067 Standard_EXPORT Standard_Boolean HasField (const Standard_CString name) const Standard_OVERRIDE;
0068
0069
0070 Standard_EXPORT const StepData_Field& Field (const Standard_CString name) const Standard_OVERRIDE;
0071
0072
0073 Standard_EXPORT StepData_Field& CField (const Standard_CString name) Standard_OVERRIDE;
0074
0075
0076 Standard_EXPORT Standard_Integer NbFields() const;
0077
0078
0079 Standard_EXPORT const StepData_Field& FieldNum (const Standard_Integer num) const;
0080
0081
0082 Standard_EXPORT StepData_Field& CFieldNum (const Standard_Integer num);
0083
0084
0085 Standard_EXPORT const StepData_FieldListN& Fields() const;
0086
0087
0088 Standard_EXPORT StepData_FieldListN& CFields();
0089
0090
0091 Standard_EXPORT void Check (Handle(Interface_Check)& ach) const Standard_OVERRIDE;
0092
0093
0094 Standard_EXPORT void Shared (Interface_EntityIterator& list) const Standard_OVERRIDE;
0095
0096
0097
0098
0099 DEFINE_STANDARD_RTTIEXT(StepData_Simple,StepData_Described)
0100
0101 protected:
0102
0103
0104
0105
0106 private:
0107
0108
0109 StepData_FieldListN thefields;
0110
0111
0112 };
0113
0114
0115
0116
0117
0118
0119
0120 #endif