Back to index

salome-med  6.5.0
SUPPORTClient.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 #ifndef _SUPPORTCLIENT_HXX
00024 #define _SUPPORTCLIENT_HXX
00025 
00026 #include <SALOMEconfig.h>
00027 #include <utilities.h>
00028 #include "MEDClient.hxx"
00029 #include "MEDMEM_Support.hxx"
00030 #include CORBA_CLIENT_HEADER(MED)
00031 
00032 
00033 namespace MEDMEM {
00034 class MEDCLIENT_EXPORT SUPPORTClient : virtual public SUPPORT {
00035 
00036 private :
00037 
00038   const SALOME_MED::SUPPORT_var IOR_Support;
00039 
00040   mutable bool _complete_support;
00041 
00042 //  mutable int _refCounter;
00043 
00044 protected:
00045 
00046   virtual ~SUPPORTClient();
00047 
00048 public :
00049 
00050   SUPPORTClient(const SALOME_MED::SUPPORT_ptr S, 
00051                 GMESH * M = NULL);
00052 
00053   void blankCopy();
00054   void fillCopy();
00055 
00056   MEDSKYLINEARRAY *  getnumber()
00057     const throw (MEDEXCEPTION);
00058   const int *  getNumber(MED_EN::medGeometryElement GeometricType) 
00059     const throw (MEDEXCEPTION);
00060   const int *  getNumberIndex()
00061     const throw (MEDEXCEPTION);
00062   int getValIndFromGlobalNumber(const int number) 
00063     const throw (MEDEXCEPTION);
00064 //  void addReference() const;
00065 //  void removeReference() const;
00066 };
00067 }
00068 
00069 
00070 #endif
00071