File indexing completed on 2025-01-18 10:05:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Transfer_ResultFromTransient_HeaderFile
0018 #define _Transfer_ResultFromTransient_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <TColStd_HSequenceOfTransient.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <Interface_CheckStatus.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <TColStd_IndexedMapOfTransient.hxx>
0028 class Transfer_Binder;
0029 class Interface_Check;
0030 class Transfer_TransientProcess;
0031
0032
0033 class Transfer_ResultFromTransient;
0034 DEFINE_STANDARD_HANDLE(Transfer_ResultFromTransient, Standard_Transient)
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044 class Transfer_ResultFromTransient : public Standard_Transient
0045 {
0046
0047 public:
0048
0049
0050
0051 Standard_EXPORT Transfer_ResultFromTransient();
0052
0053
0054 Standard_EXPORT void SetStart (const Handle(Standard_Transient)& start);
0055
0056
0057 Standard_EXPORT void SetBinder (const Handle(Transfer_Binder)& binder);
0058
0059
0060 Standard_EXPORT Handle(Standard_Transient) Start() const;
0061
0062
0063 Standard_EXPORT Handle(Transfer_Binder) Binder() const;
0064
0065
0066 Standard_EXPORT Standard_Boolean HasResult() const;
0067
0068
0069 Standard_EXPORT const Handle(Interface_Check) Check() const;
0070
0071
0072 Standard_EXPORT Interface_CheckStatus CheckStatus() const;
0073
0074
0075 Standard_EXPORT void ClearSubs();
0076
0077
0078 Standard_EXPORT void AddSubResult (const Handle(Transfer_ResultFromTransient)& sub);
0079
0080
0081 Standard_EXPORT Standard_Integer NbSubResults() const;
0082
0083
0084 Standard_EXPORT Handle(Transfer_ResultFromTransient) SubResult (const Standard_Integer num) const;
0085
0086
0087
0088 Standard_EXPORT Handle(Transfer_ResultFromTransient) ResultFromKey (const Handle(Standard_Transient)& key) const;
0089
0090
0091
0092
0093 Standard_EXPORT void FillMap (TColStd_IndexedMapOfTransient& map) const;
0094
0095
0096
0097
0098 Standard_EXPORT void Fill (const Handle(Transfer_TransientProcess)& TP);
0099
0100
0101
0102
0103
0104 Standard_EXPORT void Strip();
0105
0106
0107
0108
0109 Standard_EXPORT void FillBack (const Handle(Transfer_TransientProcess)& TP) const;
0110
0111
0112
0113
0114 DEFINE_STANDARD_RTTIEXT(Transfer_ResultFromTransient,Standard_Transient)
0115
0116 protected:
0117
0118
0119
0120
0121 private:
0122
0123
0124 Handle(Standard_Transient) thestart;
0125 Handle(Transfer_Binder) thebinder;
0126 Handle(TColStd_HSequenceOfTransient) thesubs;
0127
0128
0129 };
0130
0131
0132
0133
0134
0135
0136
0137 #endif