1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-07 18:30:55 +03:00
occt/src/MAT/MAT_TListNodeOfListOfEdge.hxx

100 lines
2.4 KiB
C++

// Created on: 1992-09-22
// Created by: Gilles DEBARBOUILLE
// Copyright (c) 1992-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _MAT_TListNodeOfListOfEdge_HeaderFile
#define _MAT_TListNodeOfListOfEdge_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Transient.hxx>
class MAT_Edge;
class MAT_ListOfEdge;
class MAT_TListNodeOfListOfEdge;
DEFINE_STANDARD_HANDLE(MAT_TListNodeOfListOfEdge, Standard_Transient)
class MAT_TListNodeOfListOfEdge : public Standard_Transient
{
public:
MAT_TListNodeOfListOfEdge();
MAT_TListNodeOfListOfEdge(const Handle(MAT_Edge)& anitem);
Handle(MAT_Edge) GetItem() const;
Handle(MAT_TListNodeOfListOfEdge) Next() const;
Handle(MAT_TListNodeOfListOfEdge) Previous() const;
void SetItem (const Handle(MAT_Edge)& anitem);
void Next (const Handle(MAT_TListNodeOfListOfEdge)& atlistnode);
void Previous (const Handle(MAT_TListNodeOfListOfEdge)& atlistnode);
Standard_EXPORT void Dummy() const;
DEFINE_STANDARD_RTTI_INLINE(MAT_TListNodeOfListOfEdge,Standard_Transient)
protected:
private:
Handle(MAT_TListNodeOfListOfEdge) thenext;
Handle(MAT_TListNodeOfListOfEdge) theprevious;
Handle(MAT_Edge) theitem;
};
#define Item Handle(MAT_Edge)
#define Item_hxx <MAT_Edge.hxx>
#define MAT_TListNode MAT_TListNodeOfListOfEdge
#define MAT_TListNode_hxx <MAT_TListNodeOfListOfEdge.hxx>
#define Handle_MAT_TListNode Handle(MAT_TListNodeOfListOfEdge)
#define MAT_TList MAT_ListOfEdge
#define MAT_TList_hxx <MAT_ListOfEdge.hxx>
#define Handle_MAT_TList Handle(MAT_ListOfEdge)
#include <MAT_TListNode.lxx>
#undef Item
#undef Item_hxx
#undef MAT_TListNode
#undef MAT_TListNode_hxx
#undef Handle_MAT_TListNode
#undef MAT_TList
#undef MAT_TList_hxx
#undef Handle_MAT_TList
#endif // _MAT_TListNodeOfListOfEdge_HeaderFile