1 # Copyright (C) 2008-2018 EDF R&D
3 # This file is part of SALOME ADAO module
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License.
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 monFichier=os.path.abspath(__file__)
28 VERSION_CATALOGUE='V_0'
30 # tout est Facultatif car sinon, on ne peut pas supprimer et c 'est ce qu on veut tester
32 class laClasseUser(UserASSD): pass
33 class laClasseUserDerive(laClasseUser): pass
34 class lASSD(ASSD): pass
36 # En fait, cela n pas vraiment de sens que cela soit dans le fact
37 # ou si ? pour l instant on laisse de cote
39 DefinitionDsFactDsOper = OPER( nom='DefinitionDsFactDsOper', sd_prod=lASSD,
40 unFact1 = FACT(statut='f', max="**",
41 creeUserAssd = SIMP( statut='f', typ = (laClasseUser,'createObject'),),
45 DefinitionDsSimpDsOper = OPER( nom='DefinitionDsSimpDsOper', sd_prod=lASSD,
46 creeUserAssd = SIMP( statut='f', typ = (laClasseUserDerive,'createObject'),),
49 DefinitionDsFactDsProc = PROC( nom='DefinitionDsFactDsProc',
50 unFact = FACT(statut='f',
51 creeUserAssd = SIMP( statut='f', typ = (laClasseUser,'createObject'),),
54 DefinitionDsSimpDsProc = PROC( nom='DefinitionDsSimpDsProc',
55 creeUserAssd = SIMP( statut='f', typ = (laClasseUser,'createObject'),),
58 DefinitionDsSimpListe = PROC( nom='DefinitionDsSimpListe',
59 creeUserAssd = SIMP( statut='f', typ = (laClasseUser,'createObject'),max='**'),
62 UtiliseUnUserAssD = PROC( nom = 'UtiliseUnUserAssD',
63 utiliseUnUserAssd = SIMP(statut= 'o',typ =laClasseUser),
65 UtiliseEtDefinitDsLeMemeProc = PROC( nom = 'UtiliseEtDefinitDsLeMemeProc',
66 utiliseUserAssd = SIMP(statut= 'o',typ= laClasseUser,max='**'),
67 creeUserAssd = SIMP( statut='f', typ = (laClasseUser,'createObject'),),