X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMDS%2FSMDS_ListNodeOfListOfMesh.hxx;fp=src%2FSMDS%2FSMDS_ListNodeOfListOfMesh.hxx;h=0000000000000000000000000000000000000000;hb=c914dd6b709ee7af0c6665003e328c06563af431;hp=6c94329886c79a0eb109091495b242a64be6122b;hpb=af3738fabcb33199d66482f72c27e756ce42b1e4;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_ListNodeOfListOfMesh.hxx b/src/SMDS/SMDS_ListNodeOfListOfMesh.hxx deleted file mode 100644 index 6c9432988..000000000 --- a/src/SMDS/SMDS_ListNodeOfListOfMesh.hxx +++ /dev/null @@ -1,138 +0,0 @@ -// SMESH SMDS : implementaion of Salome mesh data structure -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : SMDS_ListNodeOfListOfMesh.hxx -// Module : SMESH - -#ifndef _SMDS_ListNodeOfListOfMesh_HeaderFile -#define _SMDS_ListNodeOfListOfMesh_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_SMDS_ListNodeOfListOfMesh_HeaderFile -#include "Handle_SMDS_ListNodeOfListOfMesh.hxx" -#endif - -#ifndef _Handle_SMDS_Mesh_HeaderFile -#include "Handle_SMDS_Mesh.hxx" -#endif -#ifndef _TCollection_MapNode_HeaderFile -#include -#endif -#ifndef _TCollection_MapNodePtr_HeaderFile -#include -#endif -class SMDS_Mesh; -class SMDS_ListOfMesh; -class SMDS_ListIteratorOfListOfMesh; - - -class SMDS_ListNodeOfListOfMesh : public TCollection_MapNode { - -public: - - inline void* operator new(size_t,void* anAddress) - { - return anAddress; - } - inline void* operator new(size_t size) - { - return Standard::Allocate(size); - } - inline void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } -// inline void operator delete(void *anAddress, size_t size) -// { -// if (anAddress) Standard::Free((Standard_Address&)anAddress,size); -// } - // Methods PUBLIC - // -Standard_EXPORT inline SMDS_ListNodeOfListOfMesh(const Handle(SMDS_Mesh)& I,const TCollection_MapNodePtr& n); -Standard_EXPORT inline Handle_SMDS_Mesh& Value() const; -Standard_EXPORT ~SMDS_ListNodeOfListOfMesh(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& SMDS_ListNodeOfListOfMesh_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -Handle_SMDS_Mesh myValue; - - -}; - -#define Item Handle_SMDS_Mesh -#define Item_hxx -#define TCollection_ListNode SMDS_ListNodeOfListOfMesh -#define TCollection_ListNode_hxx -#define TCollection_ListIterator SMDS_ListIteratorOfListOfMesh -#define TCollection_ListIterator_hxx -#define Handle_TCollection_ListNode Handle_SMDS_ListNodeOfListOfMesh -#define TCollection_ListNode_Type_() SMDS_ListNodeOfListOfMesh_Type_() -#define TCollection_List SMDS_ListOfMesh -#define TCollection_List_hxx - -#include - -#undef Item -#undef Item_hxx -#undef TCollection_ListNode -#undef TCollection_ListNode_hxx -#undef TCollection_ListIterator -#undef TCollection_ListIterator_hxx -#undef Handle_TCollection_ListNode -#undef TCollection_ListNode_Type_ -#undef TCollection_List -#undef TCollection_List_hxx - - -// other inline functions and methods (like "C++: function call" methods) -// - - -#endif