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_TransientListBinder_HeaderFile
0018 #define _Transfer_TransientListBinder_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <TColStd_HSequenceOfTransient.hxx>
0024 #include <Transfer_Binder.hxx>
0025 #include <Standard_Integer.hxx>
0026 class Standard_Transient;
0027
0028
0029 class Transfer_TransientListBinder;
0030 DEFINE_STANDARD_HANDLE(Transfer_TransientListBinder, Transfer_Binder)
0031
0032
0033
0034
0035
0036 class Transfer_TransientListBinder : public Transfer_Binder
0037 {
0038
0039 public:
0040
0041
0042 Standard_EXPORT Transfer_TransientListBinder();
0043
0044 Standard_EXPORT Transfer_TransientListBinder(const Handle(TColStd_HSequenceOfTransient)& list);
0045
0046 Standard_EXPORT virtual Standard_Boolean IsMultiple() const Standard_OVERRIDE;
0047
0048 Standard_EXPORT Handle(Standard_Type) ResultType() const Standard_OVERRIDE;
0049
0050 Standard_EXPORT Standard_CString ResultTypeName() const Standard_OVERRIDE;
0051
0052
0053 Standard_EXPORT void AddResult (const Handle(Standard_Transient)& res);
0054
0055 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) Result() const;
0056
0057
0058 Standard_EXPORT void SetResult (const Standard_Integer num, const Handle(Standard_Transient)& res);
0059
0060 Standard_EXPORT Standard_Integer NbTransients() const;
0061
0062 Standard_EXPORT const Handle(Standard_Transient)& Transient (const Standard_Integer num) const;
0063
0064
0065
0066
0067 DEFINE_STANDARD_RTTIEXT(Transfer_TransientListBinder,Transfer_Binder)
0068
0069 protected:
0070
0071
0072
0073
0074 private:
0075
0076
0077 Handle(TColStd_HSequenceOfTransient) theres;
0078
0079
0080 };
0081
0082
0083
0084
0085
0086
0087
0088 #endif