File indexing completed on 2025-01-18 10:04:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Interface_EntityIterator_HeaderFile
0018 #define _Interface_EntityIterator_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TColStd_HSequenceOfTransient.hxx>
0025 #include <Standard_Type.hxx>
0026 #include <Standard_Boolean.hxx>
0027 #include <Standard_Integer.hxx>
0028 class Interface_IntVal;
0029 class Standard_Transient;
0030
0031
0032
0033
0034 class Interface_EntityIterator
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041
0042 Standard_EXPORT Interface_EntityIterator();
0043
0044
0045 Standard_EXPORT Interface_EntityIterator(const Handle(TColStd_HSequenceOfTransient)& list);
0046
0047
0048 Standard_EXPORT void AddList (const Handle(TColStd_HSequenceOfTransient)& list);
0049
0050
0051 Standard_EXPORT void AddItem (const Handle(Standard_Transient)& anentity);
0052
0053
0054 Standard_EXPORT void GetOneItem (const Handle(Standard_Transient)& anentity);
0055
0056
0057
0058 Standard_EXPORT void SelectType (const Handle(Standard_Type)& atype, const Standard_Boolean keep);
0059
0060
0061
0062 Standard_EXPORT Standard_Integer NbEntities() const;
0063
0064
0065 Standard_EXPORT Standard_Integer NbTyped (const Handle(Standard_Type)& type) const;
0066
0067
0068 Standard_EXPORT Interface_EntityIterator Typed (const Handle(Standard_Type)& type) const;
0069
0070
0071 Standard_EXPORT virtual void Start() const;
0072
0073
0074
0075 Standard_EXPORT Standard_Boolean More() const;
0076
0077
0078 Standard_EXPORT void Next() const;
0079
0080
0081
0082 Standard_EXPORT const Handle(Standard_Transient)& Value() const;
0083
0084
0085
0086
0087
0088 Standard_EXPORT Handle(TColStd_HSequenceOfTransient) Content() const;
0089
0090
0091 Standard_EXPORT void Destroy();
0092
0093
0094 Standard_EXPORT virtual ~Interface_EntityIterator();
0095
0096 protected:
0097
0098
0099
0100 Standard_EXPORT void Reset();
0101
0102
0103
0104
0105 private:
0106
0107
0108
0109 Handle(Interface_IntVal) thecurr;
0110 Handle(TColStd_HSequenceOfTransient) thelist;
0111
0112
0113 };
0114
0115
0116
0117
0118
0119
0120
0121 #endif