Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / src / MedClient / src / GROUPClient.cxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 #include "GROUPClient.hxx"
24 #include "MESHClient.hxx"
25 using namespace MEDMEM;
26
27 //=============================================================================
28 /*!
29  * Constructeur
30  */
31 //=============================================================================
32
33 GROUPClient::GROUPClient(const SALOME_MED::GROUP_ptr G,
34                          GMESH * M) 
35   : SUPPORTClient(G, M),
36     GROUP(),
37     IOR_Group(SALOME_MED::GROUP::_duplicate(G))
38 {
39   SCRUTE(G);
40   SCRUTE(M);
41 }
42
43 //=============================================================================
44 /*!
45  * Remplit les informations générales
46  */
47 //=============================================================================
48 void GROUPClient::blankCopy()
49 {
50   SUPPORTClient::blankCopy();
51   _complete = false;
52 }
53 //=============================================================================
54 /*!
55  * Remplit les informations 
56  */
57 //=============================================================================
58
59 void GROUPClient::fillCopy()
60 {
61   SUPPORTClient::fillCopy();
62   _complete = true;
63 }
64
65 //=============================================================================
66 /*!
67  * Destructeur
68  */
69 //=============================================================================
70
71 GROUPClient::~GROUPClient()
72 {
73 }