File indexing completed on 2025-01-18 10:04:14
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _MAT_ListOfBisector_HeaderFile
0018 #define _MAT_ListOfBisector_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <Standard_Transient.hxx>
0025 class MAT_TListNodeOfListOfBisector;
0026 class MAT_Bisector;
0027
0028
0029 class MAT_ListOfBisector;
0030 DEFINE_STANDARD_HANDLE(MAT_ListOfBisector, Standard_Transient)
0031
0032
0033 class MAT_ListOfBisector : public Standard_Transient
0034 {
0035
0036 public:
0037
0038 Standard_EXPORT MAT_ListOfBisector();
0039
0040 Standard_EXPORT ~MAT_ListOfBisector();
0041
0042 Standard_EXPORT void First();
0043
0044 Standard_EXPORT void Last();
0045
0046 Standard_EXPORT void Init (const Handle(MAT_Bisector)& aniten);
0047
0048 Standard_EXPORT void Next();
0049
0050 Standard_EXPORT void Previous();
0051
0052 Standard_EXPORT Standard_Boolean More() const;
0053
0054 Standard_EXPORT Handle(MAT_Bisector) Current() const;
0055
0056 Standard_EXPORT void Current (const Handle(MAT_Bisector)& anitem) const;
0057
0058 Standard_EXPORT Handle(MAT_Bisector) FirstItem() const;
0059
0060 Standard_EXPORT Handle(MAT_Bisector) LastItem() const;
0061
0062 Standard_EXPORT Handle(MAT_Bisector) PreviousItem() const;
0063
0064 Standard_EXPORT Handle(MAT_Bisector) NextItem() const;
0065
0066 Standard_Integer Number() const;
0067
0068 Standard_Integer Index() const;
0069
0070 Standard_EXPORT Handle(MAT_Bisector) Brackets (const Standard_Integer anindex);
0071 Handle(MAT_Bisector) operator() (const Standard_Integer anindex)
0072 {
0073 return Brackets(anindex);
0074 }
0075
0076 Standard_EXPORT void Unlink();
0077
0078 Standard_EXPORT void LinkBefore (const Handle(MAT_Bisector)& anitem);
0079
0080 Standard_EXPORT void LinkAfter (const Handle(MAT_Bisector)& anitem);
0081
0082 Standard_EXPORT void FrontAdd (const Handle(MAT_Bisector)& anitem);
0083
0084 Standard_EXPORT void BackAdd (const Handle(MAT_Bisector)& anitem);
0085
0086 Standard_EXPORT void Permute();
0087
0088 Standard_EXPORT void Loop() const;
0089
0090 Standard_Boolean IsEmpty() const;
0091
0092 Standard_EXPORT void Dump (const Standard_Integer ashift, const Standard_Integer alevel);
0093
0094
0095
0096
0097 DEFINE_STANDARD_RTTI_INLINE(MAT_ListOfBisector,Standard_Transient)
0098
0099 protected:
0100
0101
0102
0103
0104 private:
0105
0106
0107 Handle(MAT_TListNodeOfListOfBisector) thefirstnode;
0108 Handle(MAT_TListNodeOfListOfBisector) thelastnode;
0109 Handle(MAT_TListNodeOfListOfBisector) thecurrentnode;
0110 Standard_Integer thecurrentindex;
0111 Standard_Integer thenumberofitems;
0112
0113
0114 };
0115
0116 #define Item Handle(MAT_Bisector)
0117 #define Item_hxx <MAT_Bisector.hxx>
0118 #define MAT_TListNode MAT_TListNodeOfListOfBisector
0119 #define MAT_TListNode_hxx <MAT_TListNodeOfListOfBisector.hxx>
0120 #define Handle_MAT_TListNode Handle(MAT_TListNodeOfListOfBisector)
0121 #define MAT_TList MAT_ListOfBisector
0122 #define MAT_TList_hxx <MAT_ListOfBisector.hxx>
0123 #define Handle_MAT_TList Handle(MAT_ListOfBisector)
0124
0125 #include <MAT_TList.lxx>
0126
0127 #undef Item
0128 #undef Item_hxx
0129 #undef MAT_TListNode
0130 #undef MAT_TListNode_hxx
0131 #undef Handle_MAT_TListNode
0132 #undef MAT_TList
0133 #undef MAT_TList_hxx
0134 #undef Handle_MAT_TList
0135
0136
0137
0138
0139 #endif