Back to index

salome-smesh  6.5.0
SMDS_ElemIterator.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  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 
00023 //  SMESH SMDS : implementaion of Salome mesh data structure
00024 //  File   : SMDS_MeshElement.hxx
00025 //  Module : SMESH
00026 //  Created:   12.01.05 18:02:52
00027 //  Author:    Michael Sazonov
00028 //
00029 #ifndef SMDS_ElemIterator_HeaderFile
00030 #define SMDS_ElemIterator_HeaderFile
00031 
00032 #include "SMDS_Iterator.hxx"
00033 #include <boost/shared_ptr.hpp>
00034 
00035 class SMDS_MeshElement;
00036 class SMDS_MeshNode;
00037 class SMDS_Mesh0DElement;
00038 class SMDS_MeshEdge;
00039 class SMDS_MeshFace;
00040 class SMDS_MeshVolume;
00041 
00042 typedef SMDS_Iterator<const SMDS_MeshElement *> SMDS_ElemIterator;
00043 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshElement *> > SMDS_ElemIteratorPtr;
00044 
00045 typedef SMDS_Iterator<const SMDS_MeshNode *> SMDS_NodeIterator;
00046 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshNode *> > SMDS_NodeIteratorPtr;
00047 
00048 typedef SMDS_Iterator<const SMDS_Mesh0DElement *> SMDS_0DElementIterator;
00049 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_Mesh0DElement *> > SMDS_0DElementIteratorPtr;
00050 
00051 typedef SMDS_Iterator<const SMDS_MeshEdge *> SMDS_EdgeIterator;
00052 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshEdge *> > SMDS_EdgeIteratorPtr;
00053 
00054 typedef SMDS_Iterator<const SMDS_MeshFace *> SMDS_FaceIterator;
00055 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshFace *> > SMDS_FaceIteratorPtr;
00056 
00057 typedef SMDS_Iterator<const SMDS_MeshVolume *> SMDS_VolumeIterator;
00058 typedef boost::shared_ptr<SMDS_Iterator<const SMDS_MeshVolume *> > SMDS_VolumeIteratorPtr;
00059 
00060 #endif