Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-13 09:17:03

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_TListNodeOfListOfBisector_HeaderFile
0018 #define _MAT_TListNodeOfListOfBisector_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <Standard_Transient.hxx>
0024 class MAT_Bisector;
0025 class MAT_ListOfBisector;
0026 
0027 class MAT_TListNodeOfListOfBisector : public Standard_Transient
0028 {
0029 
0030 public:
0031   MAT_TListNodeOfListOfBisector();
0032 
0033   MAT_TListNodeOfListOfBisector(const occ::handle<MAT_Bisector>& anitem);
0034 
0035   occ::handle<MAT_Bisector> GetItem() const;
0036 
0037   occ::handle<MAT_TListNodeOfListOfBisector> Next() const;
0038 
0039   occ::handle<MAT_TListNodeOfListOfBisector> Previous() const;
0040 
0041   void SetItem(const occ::handle<MAT_Bisector>& anitem);
0042 
0043   void Next(const occ::handle<MAT_TListNodeOfListOfBisector>& atlistnode);
0044 
0045   void Previous(const occ::handle<MAT_TListNodeOfListOfBisector>& atlistnode);
0046 
0047   Standard_EXPORT void Dummy() const;
0048 
0049   DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfBisector, Standard_Transient)
0050 
0051 private:
0052   occ::handle<MAT_TListNodeOfListOfBisector> thenext;
0053   occ::handle<MAT_TListNodeOfListOfBisector> theprevious;
0054   occ::handle<MAT_Bisector>                  theitem;
0055 };
0056 
0057 //=================================================================================================
0058 // Inline implementations
0059 //=================================================================================================
0060 
0061 inline MAT_TListNodeOfListOfBisector::MAT_TListNodeOfListOfBisector() = default;
0062 
0063 //=================================================================================================
0064 
0065 inline MAT_TListNodeOfListOfBisector::MAT_TListNodeOfListOfBisector(
0066   const occ::handle<MAT_Bisector>& anitem)
0067 {
0068   theitem = anitem;
0069 }
0070 
0071 //=================================================================================================
0072 
0073 inline occ::handle<MAT_Bisector> MAT_TListNodeOfListOfBisector::GetItem() const
0074 {
0075   return theitem;
0076 }
0077 
0078 //=================================================================================================
0079 
0080 inline occ::handle<MAT_TListNodeOfListOfBisector> MAT_TListNodeOfListOfBisector::Next() const
0081 {
0082   return thenext;
0083 }
0084 
0085 //=================================================================================================
0086 
0087 inline occ::handle<MAT_TListNodeOfListOfBisector> MAT_TListNodeOfListOfBisector::Previous() const
0088 {
0089   return theprevious;
0090 }
0091 
0092 //=================================================================================================
0093 
0094 inline void MAT_TListNodeOfListOfBisector::SetItem(const occ::handle<MAT_Bisector>& anitem)
0095 {
0096   theitem = anitem;
0097 }
0098 
0099 //=================================================================================================
0100 
0101 inline void MAT_TListNodeOfListOfBisector::Next(
0102   const occ::handle<MAT_TListNodeOfListOfBisector>& atlistnode)
0103 {
0104   thenext = atlistnode;
0105 }
0106 
0107 //=================================================================================================
0108 
0109 inline void MAT_TListNodeOfListOfBisector::Previous(
0110   const occ::handle<MAT_TListNodeOfListOfBisector>& atlistnode)
0111 {
0112   theprevious = atlistnode;
0113 }
0114 
0115 #endif // _MAT_TListNodeOfListOfBisector_HeaderFile