Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-25 09:23:42

0001 // Created on: 1992-09-22
0002 // Created by: Gilles DEBARBOUILLE
0003 // Copyright (c) 1992-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _MAT_TListNodeOfListOfEdge_HeaderFile
0018 #define _MAT_TListNodeOfListOfEdge_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <Standard_Transient.hxx>
0024 class MAT_Edge;
0025 class MAT_ListOfEdge;
0026 
0027 class MAT_TListNodeOfListOfEdge;
0028 DEFINE_STANDARD_HANDLE(MAT_TListNodeOfListOfEdge, Standard_Transient)
0029 
0030 class MAT_TListNodeOfListOfEdge : public Standard_Transient
0031 {
0032 
0033 public:
0034   MAT_TListNodeOfListOfEdge();
0035 
0036   MAT_TListNodeOfListOfEdge(const Handle(MAT_Edge)& anitem);
0037 
0038   Handle(MAT_Edge) GetItem() const;
0039 
0040   Handle(MAT_TListNodeOfListOfEdge) Next() const;
0041 
0042   Handle(MAT_TListNodeOfListOfEdge) Previous() const;
0043 
0044   void SetItem(const Handle(MAT_Edge)& anitem);
0045 
0046   void Next(const Handle(MAT_TListNodeOfListOfEdge)& atlistnode);
0047 
0048   void Previous(const Handle(MAT_TListNodeOfListOfEdge)& atlistnode);
0049 
0050   Standard_EXPORT void Dummy() const;
0051 
0052   DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfEdge, Standard_Transient)
0053 
0054 protected:
0055 private:
0056   Handle(MAT_TListNodeOfListOfEdge) thenext;
0057   Handle(MAT_TListNodeOfListOfEdge) theprevious;
0058   Handle(MAT_Edge)                  theitem;
0059 };
0060 
0061 #define Item Handle(MAT_Edge)
0062 #define Item_hxx <MAT_Edge.hxx>
0063 #define MAT_TListNode MAT_TListNodeOfListOfEdge
0064 #define MAT_TListNode_hxx <MAT_TListNodeOfListOfEdge.hxx>
0065 #define Handle_MAT_TListNode Handle(MAT_TListNodeOfListOfEdge)
0066 #define MAT_TList MAT_ListOfEdge
0067 #define MAT_TList_hxx <MAT_ListOfEdge.hxx>
0068 #define Handle_MAT_TList Handle(MAT_ListOfEdge)
0069 
0070 #include <MAT_TListNode.lxx>
0071 
0072 #undef Item
0073 #undef Item_hxx
0074 #undef MAT_TListNode
0075 #undef MAT_TListNode_hxx
0076 #undef Handle_MAT_TListNode
0077 #undef MAT_TList
0078 #undef MAT_TList_hxx
0079 #undef Handle_MAT_TList
0080 
0081 #endif // _MAT_TListNodeOfListOfEdge_HeaderFile