SALOME - SMESH
|
00001 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE 00002 // 00003 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, 00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 00005 // 00006 // This library is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public 00008 // License as published by the Free Software Foundation; either 00009 // version 2.1 of the License. 00010 // 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 // 00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com 00021 // 00022 // SMESH SMDS : implementaion of Salome mesh data structure 00023 // File : SMDS_MeshElement.hxx 00024 // Module : SMESH 00025 // Created: 12.01.05 18:02:52 00026 // Author: Michael Sazonov 00027 00028 #ifndef SMDS_ElemIterator_HeaderFile 00029 #define SMDS_ElemIterator_HeaderFile 00030 00031 #include "SMDS_Iterator.hxx" 00032 #include <boost/shared_ptr.hpp> 00033 00034 class SMDS_MeshElement; 00035 class SMDS_MeshNode; 00036 class SMDS_Mesh0DElement; 00037 class SMDS_MeshEdge; 00038 class SMDS_MeshFace; 00039 class SMDS_MeshVolume; 00040 00041 typedef SMDS_Iterator<const SMDS_MeshElement *> SMDS_ElemIterator; 00042 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshElement *> > SMDS_ElemIteratorPtr; 00043 00044 typedef SMDS_Iterator<const SMDS_MeshNode *> SMDS_NodeIterator; 00045 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshNode *> > SMDS_NodeIteratorPtr; 00046 00047 typedef SMDS_Iterator<const SMDS_Mesh0DElement *> SMDS_0DElementIterator; 00048 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_Mesh0DElement *> > SMDS_0DElementIteratorPtr; 00049 00050 typedef SMDS_Iterator<const SMDS_MeshEdge *> SMDS_EdgeIterator; 00051 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshEdge *> > SMDS_EdgeIteratorPtr; 00052 00053 typedef SMDS_Iterator<const SMDS_MeshFace *> SMDS_FaceIterator; 00054 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshFace *> > SMDS_FaceIteratorPtr; 00055 00056 typedef SMDS_Iterator<const SMDS_MeshVolume *> SMDS_VolumeIterator; 00057 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshVolume *> > SMDS_VolumeIteratorPtr; 00058 00059 #endif