# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Ihm import I_ASSD
from Ihm import I_LASSD
from Ihm import I_FONCTION
# pour faire en sorte que isinstance(o,ASSD) marche encore apres
# derivation
-class ASSD(I_ASSD.ASSD,N_ASSD.ASSD):pass
-#class LASSD(I_LASSD.LASSD,N_LASSD.LASSD):pass
-class LASSD(I_LASSD.LASSD):pass
-class UserASSD(N_UserASSD.UserASSD,ASSD): pass
-class UserASSDMultiple(N_UserASSDMultiple.UserASSDMultiple,UserASSD): pass
-class assd(N_ASSD.assd,I_ASSD.assd,ASSD):pass
+class ASSD(I_ASSD.ASSD, N_ASSD.ASSD):
+ pass
-class FONCTION(N_FONCTION.FONCTION,I_FONCTION.FONCTION,ASSD):
- def __init__(self,etape=None,sd=None,reg='oui'):
- N_FONCTION.FONCTION.__init__(self,etape=etape,sd=sd,reg=reg)
- I_FONCTION.FONCTION.__init__(self,etape=etape,sd=sd,reg=reg)
+# class LASSD(I_LASSD.LASSD,N_LASSD.LASSD):pass
+class LASSD(I_LASSD.LASSD):
+ pass
-class formule(I_FONCTION.formule,N_FONCTION.formule,ASSD):
- def __init__(self,etape=None,sd=None,reg='oui'):
- N_FONCTION.formule.__init__(self,etape=etape,sd=sd,reg=reg)
- I_FONCTION.formule.__init__(self,etape=etape,sd=sd,reg=reg)
+class UserASSD(N_UserASSD.UserASSD, ASSD):
+ pass
-class formule_c(formule):pass
+class UserASSDMultiple(N_UserASSDMultiple.UserASSDMultiple, UserASSD):
+ pass
+
+class assd(N_ASSD.assd, I_ASSD.assd, ASSD):
+ pass
+
+class FONCTION(N_FONCTION.FONCTION, I_FONCTION.FONCTION, ASSD):
+ def __init__(self, etape=None, sd=None, reg="oui"):
+ N_FONCTION.FONCTION.__init__(self, etape=etape, sd=sd, reg=reg)
+ I_FONCTION.FONCTION.__init__(self, etape=etape, sd=sd, reg=reg)
+
+class formule(I_FONCTION.formule, N_FONCTION.formule, ASSD):
+ def __init__(self, etape=None, sd=None, reg="oui"):
+ N_FONCTION.formule.__init__(self, etape=etape, sd=sd, reg=reg)
+ I_FONCTION.formule.__init__(self, etape=etape, sd=sd, reg=reg)
+
+class formule_c(formule):
+ pass
# On conserve fonction (ceinture et bretelles)
# fonction n'existe plus dans N_FONCTION on le remplace par formule
-class fonction(N_FONCTION.formule,I_FONCTION.fonction,ASSD):
- def __init__(self,etape=None,sd=None,reg='oui'):
- N_FONCTION.formule.__init__(self,etape=etape,sd=sd,reg=reg)
- I_FONCTION.fonction.__init__(self,etape=etape,sd=sd,reg=reg)
+class fonction(N_FONCTION.formule, I_FONCTION.fonction, ASSD):
+ """ obsolete class : use formule instead"""
+ def __init__(self, etape=None, sd=None, reg="oui"):
+ N_FONCTION.formule.__init__(self, etape=etape, sd=sd, reg=reg)
+ I_FONCTION.fonction.__init__(self, etape=etape, sd=sd, reg=reg)
+
+class GEOM(N_GEOM.GEOM, I_ASSD.GEOM, ASSD):
+ pass
+
+class geom(N_GEOM.geom, I_ASSD.geom, ASSD):
+ pass
-class GEOM(N_GEOM.GEOM,I_ASSD.GEOM,ASSD):pass
-class geom(N_GEOM.geom,I_ASSD.geom,ASSD):pass
-class CO(N_CO.CO,I_ASSD.CO,ASSD):pass
+class CO(N_CO.CO, I_ASSD.CO, ASSD):
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Validation import V_AU_MOINS_UN
from Ihm import I_REGLE
-class AU_MOINS_UN(V_AU_MOINS_UN.AU_MOINS_UN,I_REGLE.REGLE,N_REGLE.REGLE):
+
+class AU_MOINS_UN(V_AU_MOINS_UN.AU_MOINS_UN, I_REGLE.REGLE, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- seule N_REGLE.REGLE en a un
+ Accas class for catalog rule AU_MOINS_UN
+ __init__ is in N_REGLE.REGLE
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Validation import V_AU_PLUS_UN
from Ihm import I_REGLE
-class AU_PLUS_UN(V_AU_PLUS_UN.AU_PLUS_UN,I_REGLE.REGLE,N_REGLE.REGLE):
+
+class AU_PLUS_UN(V_AU_PLUS_UN.AU_PLUS_UN, I_REGLE.REGLE, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- V_AU_PLUS_UN.AU_PLUS_UN n'en a pas
- V_UN_PARMI.UN_PARMI et I_REGLE.REGLE n'en ont pas
+ Accas class for catalog rule AU_PLUS_UN
+ class instantiation automatically invokes REGLE.__init__()
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Ihm import I_REGLE, I_AVANT
-class AVANT(I_AVANT.I_AVANT,I_REGLE.REGLE,N_REGLE.REGLE):
+
+class AVANT(I_AVANT.I_AVANT, I_REGLE.REGLE, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- I_AVANT.I_AVANT et I_REGLE.REGLE n'en ont pas
+ Accas class for catalog rule AVANT
+ class instantiation automatically invokes REGLE.__init__()
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Validation import V_A_CLASSER
from Ihm import I_A_CLASSER
-class A_CLASSER(V_A_CLASSER.A_CLASSER,N_REGLE.REGLE,I_A_CLASSER.A_CLASSER):
+
+class A_CLASSER(V_A_CLASSER.A_CLASSER, N_REGLE.REGLE, I_A_CLASSER.A_CLASSER):
"""
- La classe utilise l'initialiseur du module V_.
- Il faut absolument que V_A_CLASSER soit en premier dans l'heritage
+ Accas class for catalog rule A_CLASSER
+ It is absolutely necessary that V_A_CLASSER be first in the inheritance
"""
+ # to do --> prevoir un X_A_CLASSER pour la projection XSD
+ # Est-ce possible en 1ere passe ou faut-il modifier pendant une 2nd passe ?
+ # ajouter une methode dump a tous les objets ?
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_BLOC
from Ihm import I_ENTITE
from Accas import A_MCBLOC
-from Efi2Xsd.AccasXsd import X_BLOC
+from Efi2Xsd.AccasXsd import X_BLOC
-class BLOC(N_BLOC.BLOC,X_BLOC,I_ENTITE.ENTITE):
- class_instance=A_MCBLOC.MCBLOC
- def __init__(self,*tup,**args):
+class BLOC(N_BLOC.BLOC, X_BLOC, I_ENTITE.ENTITE):
+ """
+ Accas class for catalog definition keyword BLOC
+ """
+ class_instance = A_MCBLOC.MCBLOC
+
+ def __init__(self, *tup, **args):
I_ENTITE.ENTITE.__init__(self)
- N_BLOC.BLOC.__init__(self,*tup,**args)
+ N_BLOC.BLOC.__init__(self, *tup, **args)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Validation import V_ENSEMBLE
from Ihm import I_REGLE
-class ENSEMBLE(I_REGLE.REGLE,V_ENSEMBLE.ENSEMBLE,N_REGLE.REGLE):
+
+class ENSEMBLE(I_REGLE.REGLE, V_ENSEMBLE.ENSEMBLE, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- seule N_REGLE.REGLE en a un
-
+ Accas class for catalog rule ENSEMBLE
+ class instantiation automatically invokes REGLE.__init__()
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_ETAPE
from Validation import V_ETAPE
from Ihm import I_ETAPE
-from Efi2Xsd.MCAccasXML import X_ETAPE
+from Efi2Xsd.MCAccasXML import X_ETAPE
-class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,X_ETAPE,N_ETAPE.ETAPE):
- def __init__(self,oper=None,reuse=None,args={}):
- N_ETAPE.ETAPE.__init__(self,oper,reuse,args)
+
+class ETAPE(I_ETAPE.ETAPE, V_ETAPE.ETAPE, X_ETAPE, N_ETAPE.ETAPE):
+ """
+ parent class for PROC, MACRO and OPER (JDD object)
+ """
+
+ def __init__(self, oper=None, reuse=None, args={}):
+ N_ETAPE.ETAPE.__init__(self, oper, reuse, args)
V_ETAPE.ETAPE.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Ihm import I_EVAL
class EVAL(I_EVAL.EVAL):
- def __init__(self,str):
- I_EVAL.EVAL.__init__(self,str)
+ """
+ class used to evaluate parameter
+ """
+ def __init__(self, str):
+ I_EVAL.EVAL.__init__(self, str)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Validation import V_EXCLUS
from Ihm import I_EXCLUS
-class EXCLUS(I_EXCLUS.EXCLUS,V_EXCLUS.EXCLUS,N_REGLE.REGLE):
+
+class EXCLUS(I_EXCLUS.EXCLUS, V_EXCLUS.EXCLUS, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- I_EXCLUS.EXCLUS V_EXCLUS.EXCLUS n'en ont pas
+ Accas class for catalog rule EXCLUS
+ class instantiation automatically invokes REGLE.__init__()
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_FACT
from Ihm import I_ENTITE
from Accas import A_MCFACT
from Accas import A_MCLIST
-from Efi2Xsd.AccasXsd import X_FACT
+from Efi2Xsd.AccasXsd import X_FACT
-class FACT(N_FACT.FACT,X_FACT,I_ENTITE.ENTITE):
+class FACT(N_FACT.FACT, X_FACT, I_ENTITE.ENTITE):
+ """
+ Accas class for catalog definition keyword FACT
+ """
class_instance = A_MCFACT.MCFACT
- list_instance = A_MCLIST.MCList
- def __init__(self,*tup,**args):
+ list_instance = A_MCLIST.MCList
+
+ def __init__(self, *tup, **args):
I_ENTITE.ENTITE.__init__(self)
- N_FACT.FACT.__init__(self,*tup,**args)
+ N_FACT.FACT.__init__(self, *tup, **args)
+
from Noyau import N_OBJECT
from Ihm import I_OBJECT
-class ErrorObj(I_OBJECT.ErrorObj,N_OBJECT.ErrorObj):pass
-N_OBJECT.ErrorObj=ErrorObj
+class ErrorObj(I_OBJECT.ErrorObj, N_OBJECT.ErrorObj):
+ pass
+
+
+N_OBJECT.ErrorObj = ErrorObj
-# Copyright (C) 2007-2021 EDF R&D
+# -*- coding: utf-8 -*-
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-
-# This empty class is replaced by the class eficas.SalomeEntry
-# (defined in Salome EFICAS module) when Eficas is launched in Salome context.
-# It handles the objects that can be selected from Salome object browser.
-
-from __future__ import absolute_import
from Ihm import I_FICHIER
-class Fichier (I_FICHIER.Fichier):
- def __init__(self,*tup,**args):
- I_FICHIER.FICHIER.__init__(self,*tup,**args)
+
+class Fichier(I_FICHIER.Fichier):
+ """
+ This empty class is replaced by the class eficas.SalomeEntry
+ (defined in Salome EFICAS module) when Eficas is launched in Salome context.
+ It handles the objects that can be selected from Salome object browser.
+ """
+ def __init__(self, *tup, **args):
+ I_FICHIER.FICHIER.__init__(self, *tup, **args)
+ # To do --> a travailler pour ajouter tous les types de fichier (existant ou non, avec un chemin relatif pour etre vraiment utilise hors salome
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from __future__ import absolute_import
from Noyau import N_FORM
from Ihm import I_ENTITE
-from . import A_FORM_ETAPE
+from Accas import A_FORM_ETAPE
-class FORM(N_FORM.FORM,I_ENTITE.ENTITE):
- class_instance=A_FORM_ETAPE.FORM_ETAPE
+
+class FORM(N_FORM.FORM, I_ENTITE.ENTITE):
+ """
+ Accas class for catalog definition keyword FORMULE
+ """
+ class_instance = A_FORM_ETAPE.FORM_ETAPE
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_FORM_ETAPE
from Validation import V_MACRO_ETAPE
from Ihm import I_FORM_ETAPE
-class FORM_ETAPE(I_FORM_ETAPE.FORM_ETAPE,V_MACRO_ETAPE.MACRO_ETAPE,N_FORM_ETAPE.FORM_ETAPE):
- def __init__(self,oper=None,reuse=None,args={}):
- N_FORM_ETAPE.FORM_ETAPE.__init__(self,oper,reuse,args)
+
+class FORM_ETAPE( I_FORM_ETAPE.FORM_ETAPE, V_MACRO_ETAPE.MACRO_ETAPE, N_FORM_ETAPE.FORM_ETAPE):
+ """
+ specific class for Aster FORM_ETAPE
+ most likely as MACRO
+ """
+ def __init__(self, oper=None, reuse=None, args={}):
+ N_FORM_ETAPE.FORM_ETAPE.__init__(self, oper, reuse, args)
V_MACRO_ETAPE.MACRO_ETAPE.__init__(self)
I_FORM_ETAPE.FORM_ETAPE.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_JDC
from Validation import V_JDC
from Extensions import jdc
from Ihm import I_JDC
-from Efi2Xsd.MCAccasXML import X_JDC
+from Efi2Xsd.MCAccasXML import X_JDC
-class JDC(jdc.JDC,I_JDC.JDC,X_JDC,V_JDC.JDC,N_JDC.JDC):
- from .A_ASSD import CO,assd
- def __init__(self,*pos,**args):
- N_JDC.JDC.__init__(self,*pos,**args)
+class JDC(jdc.JDC, I_JDC.JDC, X_JDC, V_JDC.JDC, N_JDC.JDC):
+ """
+ parent class for dataset object (JDC)
+ """
+ from .A_ASSD import CO, assd
+
+ def __init__(self, *pos, **args):
+ N_JDC.JDC.__init__(self, *pos, **args)
X_JDC.__init__(self)
V_JDC.JDC.__init__(self)
I_JDC.JDC.__init__(self)
jdc.JDC.__init__(self)
- self.icmd=0
+ self.icmd = 0
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
-from . import A_JDC
+from Accas import A_JDC
from Noyau import N_JDC_CATA
from Ihm import I_JDC_CATA
-from Efi2Xsd.AccasXsd import X_JDC_CATA
+from Efi2Xsd.AccasXsd import X_JDC_CATA
-class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA,X_JDC_CATA):
- class_instance=A_JDC.JDC
- def __init__(self,*pos,**kw):
- #print pos
- #print kw
- N_JDC_CATA.JDC_CATA.__init__(self,*pos,**kw)
+
+class JDC_CATA(I_JDC_CATA.JDC_CATA, N_JDC_CATA.JDC_CATA, X_JDC_CATA):
+ """
+ Accas class that defines a catalog object that is object which will be used
+ to control conformity of the dataset with its definition
+ """
+ class_instance = A_JDC.JDC
+
+ def __init__(self, *pos, **kw):
+ # print (pos)
+ # print (kw)
+ N_JDC_CATA.JDC_CATA.__init__(self, *pos, **kw)
I_JDC_CATA.JDC_CATA.__init__(self)
--- /dev/null
+# -*- coding: utf-8 -*-
+# Copyright (C) 2007-2024 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+from Noyau.N_utils import Singleton
+from Accas import JDC_CATA
+
+class JDC_CATA_SINGLETON(Singleton, JDC_CATA):
+ """
+ class used for defining catalogs which can be either standalone
+ either imported by another catalog
+ the steps are recorded in the correct JDC_CATA
+ """
+ def __init__(self, *pos, **kw):
+ if hasattr(self, "initialised"):
+ return
+ self.initialised = True
+ JDC_CATA.__init__(self, *pos, **kw)
+ # to do : reflechir pour les imports des drivers a utiliser le nom du code
+ # de maniere a pour pourvoir utiliser n importe lequel des driver pour lire
+ # le XML
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Ihm import I_ENTITE
from . import A_MACRO_ETAPE
-class MACRO(N_MACRO.MACRO,I_ENTITE.ENTITE):
- class_instance=A_MACRO_ETAPE.MACRO_ETAPE
- def __init__(self,*tup,**args):
+
+class MACRO(N_MACRO.MACRO, I_ENTITE.ENTITE):
+ """
+ parent class of MACRO definition
+ unused class that could/should be reactivated
+ """
+ class_instance = A_MACRO_ETAPE.MACRO_ETAPE
+
+ def __init__(self, *tup, **args):
I_ENTITE.ENTITE.__init__(self)
- N_MACRO.MACRO.__init__(self,*tup,**args)
+ N_MACRO.MACRO.__init__(self, *tup, **args)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_MACRO_ETAPE
from Validation import V_MACRO_ETAPE
from Ihm import I_MACRO_ETAPE
-from .A_ASSD import CO
-from Efi2Xsd.MCAccasXML import X_MCCOMPO
+from Accas.A_ASSD import CO
+from Efi2Xsd.MCAccasXML import X_MCCOMPO
-class MACRO_ETAPE(I_MACRO_ETAPE.MACRO_ETAPE,
- X_MCCOMPO,
- V_MACRO_ETAPE.MACRO_ETAPE,
- N_MACRO_ETAPE.MACRO_ETAPE):
- typeCO=CO
- def __init__(self,oper=None,reuse=None,args={}):
- N_MACRO_ETAPE.MACRO_ETAPE.__init__(self,oper,reuse,args)
+
+class MACRO_ETAPE( I_MACRO_ETAPE.MACRO_ETAPE, X_MCCOMPO,
+ V_MACRO_ETAPE.MACRO_ETAPE, N_MACRO_ETAPE.MACRO_ETAPE,):
+ """
+ parent class of MACRO objects
+ unused class that could/should be reactivated
+ a macro is a set of command
+ differs from step (PROC or OPER) for supervision
+ """
+ typeCO = CO
+
+ def __init__(self, oper=None, reuse=None, args={}):
+ N_MACRO_ETAPE.MACRO_ETAPE.__init__(self, oper, reuse, args)
V_MACRO_ETAPE.MACRO_ETAPE.__init__(self)
I_MACRO_ETAPE.MACRO_ETAPE.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Noyau import N_MCBLOC
from Validation import V_MCBLOC
from Ihm import I_MCBLOC
-from Efi2Xsd.MCAccasXML import X_MCBLOC
+from Efi2Xsd.MCAccasXML import X_MCBLOC
-class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,X_MCBLOC,V_MCBLOC.MCBLOC):
- def __init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=None):
- N_MCBLOC.MCBLOC.__init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=dicoPyxbDeConstruction)
+class MCBLOC(I_MCBLOC.MCBLOC, N_MCBLOC.MCBLOC, X_MCBLOC, V_MCBLOC.MCBLOC):
+ """
+ class of BLOC objet
+ """
+ def __init__(self, val, definition, nom, parent, dicoPyxbDeConstruction=None):
+ N_MCBLOC.MCBLOC.__init__(self, val, definition, nom,
+ parent, dicoPyxbDeConstruction=dicoPyxbDeConstruction)
V_MCBLOC.MCBLOC.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Noyau import N_MCFACT
from Validation import V_MCFACT
from Ihm import I_MCFACT
-from Efi2Xsd.MCAccasXML import X_MCFACT
+from Efi2Xsd.MCAccasXML import X_MCFACT
-class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,X_MCFACT,V_MCFACT.MCFACT):
- def __init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=None):
- N_MCFACT.MCFACT.__init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=dicoPyxbDeConstruction)
+
+class MCFACT(I_MCFACT.MCFACT, N_MCFACT.MCFACT, X_MCFACT, V_MCFACT.MCFACT):
+ """
+ class of FACT object (MCFACT = mot clef FACTEUR)
+ """
+ def __init__(self, val, definition, nom, parent, dicoPyxbDeConstruction=None):
+ N_MCFACT.MCFACT.__init__(self, val, definition, nom,
+ parent, dicoPyxbDeConstruction=dicoPyxbDeConstruction)
V_MCFACT.MCFACT.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Noyau import N_MCLIST
from Validation import V_MCLIST
from Ihm import I_MCLIST
-from Efi2Xsd.MCAccasXML import X_MCLIST
+from Efi2Xsd.MCAccasXML import X_MCLIST
-class MCList(I_MCLIST.MCList,N_MCLIST.MCList,X_MCLIST,V_MCLIST.MCList):
+class MCList(I_MCLIST.MCList, N_MCLIST.MCList, X_MCLIST, V_MCLIST.MCList):
+ """
+ class of keywords which are also lists
+ overload the python list class
+ """
def __init__(self):
N_MCLIST.MCList.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Extensions import mcnuplet
from Ihm import I_MCCOMPO
-class MCNUPLET(mcnuplet.MCNUPLET,I_MCCOMPO.MCCOMPO):
- def __init__(self,*pos,**args):
- mcnuplet.MCNUPLET.__init__(self,*pos,**args)
+
+class MCNUPLET(mcnuplet.MCNUPLET, I_MCCOMPO.MCCOMPO):
+ def __init__(self, *pos, **args):
+ mcnuplet.MCNUPLET.__init__(self, *pos, **args)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_MCSIMP
from Validation import V_MCSIMP
from Ihm import I_MCSIMP
-from Efi2Xsd.MCAccasXML import X_MCSIMP
+from Efi2Xsd.MCAccasXML import X_MCSIMP
-class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,X_MCSIMP,V_MCSIMP.MCSIMP):
- def __init__(self,val,definition,nom,parent,objPyxbDeConstruction=None):
- #le defaut de objPyxbDeConstruction permet de lire les comm avec des modeles sans equivalent XSD
+
+class MCSIMP(I_MCSIMP.MCSIMP, N_MCSIMP.MCSIMP, X_MCSIMP, V_MCSIMP.MCSIMP):
+ """
+ class for SIMP object (MCSIMP = mot clef simp)
+ """
+ def __init__(self, val, definition, nom, parent, objPyxbDeConstruction=None):
+ # le defaut de objPyxbDeConstruction permet de lire les comm
+ # avec des modeles sans equivalent XSD
N_MCSIMP.MCSIMP.__init__(self,val,definition,nom,parent,objPyxbDeConstruction)
V_MCSIMP.MCSIMP.__init__(self)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Validation import V_MEME_NOMBRE
from Ihm import I_REGLE
-class MEME_NOMBRE(V_MEME_NOMBRE.MEME_NOMBRE,I_REGLE.REGLE,N_REGLE.REGLE):
+
+class MEME_NOMBRE(V_MEME_NOMBRE.MEME_NOMBRE, I_REGLE.REGLE, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- seule N_REGLE.REGLE en a un
+ Accas class for catalog rule MEME_NOMBRE
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Extensions import nuplet
-from . import A_MCLIST
-from . import A_MCNUPLET
+from Accas import A_MCLIST
+from Accas import A_MCNUPLET
+
class NUPL(nuplet.NUPL):
class_instance = A_MCNUPLET.MCNUPLET
- list_instance = A_MCLIST.MCList
+ list_instance = A_MCLIST.MCList
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Noyau import N_OPER
from Ihm import I_ENTITE
from Accas import A_ETAPE
-from Efi2Xsd.AccasXsd import X_OPER
+from Efi2Xsd.AccasXsd import X_OPER
-class OPER(N_OPER.OPER,X_OPER,I_ENTITE.ENTITE):
- class_instance=A_ETAPE.ETAPE
- def __init__(self,*tup,**args):
+class OPER(N_OPER.OPER, X_OPER, I_ENTITE.ENTITE):
+ """
+ Accas class for catalog definition keyword OPER
+ """
+
+ class_instance = A_ETAPE.ETAPE
+
+ def __init__(self, *tup, **args):
I_ENTITE.ENTITE.__init__(self)
- N_OPER.OPER.__init__(self,*tup,**args)
+ N_OPER.OPER.__init__(self, *tup, **args)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Validation import V_PRESENT_ABSENT
from Ihm import I_PRESENT_ABSENT
-class PRESENT_ABSENT(I_PRESENT_ABSENT.PRESENT_ABSENT,V_PRESENT_ABSENT.PRESENT_ABSENT,
- N_REGLE.REGLE):
+
+class PRESENT_ABSENT( I_PRESENT_ABSENT.PRESENT_ABSENT,
+ V_PRESENT_ABSENT.PRESENT_ABSENT,
+ N_REGLE.REGLE
+ ):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- seule N_REGLE.REGLE.py en a un
+ Accas class for catalog rule PRESENT_ABSENT
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
from Validation import V_PRESENT_PRESENT
from Ihm import I_PRESENT_PRESENT
+
class PRESENT_PRESENT(I_PRESENT_PRESENT.PRESENT_PRESENT,
V_PRESENT_PRESENT.PRESENT_PRESENT,
N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- seule N_REGLE.REGLE en a un
+ Accas class for catalog rule PRESENT_PRESENT
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_PROC
from Ihm import I_ENTITE
from Accas import A_PROC_ETAPE
from Efi2Xsd.AccasXsd import X_PROC
-class PROC(N_PROC.PROC,X_PROC,I_ENTITE.ENTITE):
- class_instance=A_PROC_ETAPE.PROC_ETAPE
- def __init__(self,*tup,**args):
- #print (tup)
- #print (args)
+
+class PROC(N_PROC.PROC, X_PROC, I_ENTITE.ENTITE):
+ """
+ Accas class for catalog definition keyword PROC
+ """
+ class_instance = A_PROC_ETAPE.PROC_ETAPE
+
+ def __init__(self, *tup, **args):
+ # print (tup)
+ # print (args)
I_ENTITE.ENTITE.__init__(self)
- N_PROC.PROC.__init__(self,*tup,**args)
+ N_PROC.PROC.__init__(self, *tup, **args)
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_PROC_ETAPE
from Validation import V_PROC_ETAPE
from Ihm import I_PROC_ETAPE
-from Efi2Xsd.MCAccasXML import X_MCCOMPO
+from Efi2Xsd.MCAccasXML import X_MCCOMPO
+
class PROC_ETAPE(I_PROC_ETAPE.PROC_ETAPE,
V_PROC_ETAPE.PROC_ETAPE,
X_MCCOMPO,
N_PROC_ETAPE.PROC_ETAPE):
- def __init__(self,oper=None,args={}):
- N_PROC_ETAPE.PROC_ETAPE.__init__(self,oper=oper,args=args)
+ """
+ Accas class for dataset object PROC_ETAPE
+ """
+ def __init__(self, oper=None, args={}):
+ N_PROC_ETAPE.PROC_ETAPE.__init__(self, oper=oper, args=args)
V_PROC_ETAPE.PROC_ETAPE.__init__(self)
-# Copyright (C) 2007-2021 EDF R&D
+# -*- coding: utf-8 -*-
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-# This empty class is replaced by the class eficas.SalomeEntry
-# (defined in Salome EFICAS module) when Eficas is launched in Salome context.
-# It handles the objects that can be selected from Salome object browser.
-#from builtins import object
-#class SalomeEntry(object):
+
class SalomeEntry:
+ """
+ This empty class is replaced by the class eficas.SalomeEntry
+ (defined in Salome EFICAS module) when Eficas is launched in Salome context.
+ It handles the objects that can be selected from Salome object browser.
+ from builtins import object
+ class SalomeEntry(object):
+ """
pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Ihm import I_REGLE
from Noyau import N_SENSIBILITE
-class REUSE_SENSIBLE(I_REGLE.REGLE,N_SENSIBILITE.REUSE_SENSIBLE):pass
-class CONCEPT_SENSIBLE(I_REGLE.REGLE,N_SENSIBILITE.CONCEPT_SENSIBLE):pass
-class DERIVABLE(I_REGLE.REGLE,N_SENSIBILITE.DERIVABLE):pass
+
+class REUSE_SENSIBLE(I_REGLE.REGLE, N_SENSIBILITE.REUSE_SENSIBLE):
+ """
+ obsolete class which was used by the supervisor
+ """
+ pass
+
+
+class CONCEPT_SENSIBLE(I_REGLE.REGLE, N_SENSIBILITE.CONCEPT_SENSIBLE):
+ """
+ obsolete class which was used by the supervisor
+ """
+ pass
+
+
+class DERIVABLE(I_REGLE.REGLE, N_SENSIBILITE.DERIVABLE):
+ """
+ obsolete class which was used by the supervisor
+ """
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_SIMP
from Ihm import I_ENTITE
from Accas import A_MCSIMP
from Efi2Xsd.AccasXsd import X_SIMP
-class SIMP(N_SIMP.SIMP,X_SIMP,I_ENTITE.ENTITE):
- class_instance=A_MCSIMP.MCSIMP
- def __init__(self,*tup,**args):
- #print tup
- #print args
+
+class SIMP(N_SIMP.SIMP, X_SIMP, I_ENTITE.ENTITE):
+ """
+ Accas class for catalog definition keyword SIMP
+ """
+ class_instance = A_MCSIMP.MCSIMP
+
+ def __init__(self, *tup, **args):
+ # print (tup)
+ # print (args)
I_ENTITE.ENTITE.__init__(self)
- N_SIMP.SIMP.__init__(self,*tup,**args)
+ N_SIMP.SIMP.__init__(self, *tup, **args)
+# -*- coding: utf-8 -*-
+# Copyright (C) 2007-2024 EDF R&D
#
-from __future__ import absolute_import
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
from Noyau import N_TUPLE
-from Ihm import I_TUPLE
-
-class Tuple (N_TUPLE.N_Tuple): pass
-class Matrice (I_TUPLE.I_Matrice,N_TUPLE.N_Matrice):pass
-# def __init__(self,*tup,**args):
-# I_TUPLE.I_Matrice.__init__(self)
-# N_TUPLE.N_Matrice(self,*tup,**args)
-# print (tup)
-# print (args)
+from Ihm import I_TUPLE
+
+
+class Tuple(N_TUPLE.N_Tuple):
+ """
+ Accas class for catalog definition keyword Tuple
+ """
+ pass
+
+
+class Matrice(I_TUPLE.I_Matrice, N_TUPLE.N_Matrice):
+ """
+ Accas class for catalog definition keyword Matrice
+ """
+ pass
+
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Noyau import N_REGLE
from Validation import V_UN_PARMI
from Ihm import I_UN_PARMI
-class UN_PARMI(I_UN_PARMI.UN_PARMI,V_UN_PARMI.UN_PARMI,N_REGLE.REGLE):
+
+class UN_PARMI(I_UN_PARMI.UN_PARMI, V_UN_PARMI.UN_PARMI, N_REGLE.REGLE):
"""
- La classe utilise l'initialiseur de REGLE. Il n'est pas
- necessaire d'expliciter son initialiseur car
- V_UN_PARMI.UN_PARMI et I_UN_PARMI.UN_PARMI n'en ont pas
+ Accas class for catalog rule UN_PARMI
"""
+ pass
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from __future__ import absolute_import
from Ihm.I_VALIDATOR import *
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2021 EDF R&D
+# Copyright (C) 2007-2024 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
"""
-from __future__ import absolute_import
import warnings
-warnings.filterwarnings('error','Non-ASCII character.*pep-0263',DeprecationWarning)
+
+warnings.filterwarnings("error", "Non-ASCII character.*pep-0263", DeprecationWarning)
from .A_JDC_CATA import JDC_CATA
-from .A_OPER import OPER
-from .A_PROC import PROC
-from .A_MACRO import MACRO
-from .A_FORM import FORM
-from .A_BLOC import BLOC
-from .A_FACT import FACT
-from .A_SIMP import SIMP
-from .A_EVAL import EVAL
-from .A_NUPLET import NUPL
-from .A_TUPLE import Tuple
-from .A_TUPLE import Matrice
+from .A_JDC_CATA_SINGLETON import JDC_CATA_SINGLETON
+from .A_OPER import OPER
+from .A_PROC import PROC
+from .A_MACRO import MACRO
+from .A_FORM import FORM
+from .A_BLOC import BLOC
+from .A_FACT import FACT
+from .A_SIMP import SIMP
+from .A_EVAL import EVAL
+from .A_NUPLET import NUPL
+from .A_TUPLE import Tuple
+from .A_TUPLE import Matrice
from .A_JDC import JDC
from .A_A_CLASSER import A_CLASSER
from .A_AVANT import AVANT
-from .A_ASSD import ASSD,assd, UserASSD, UserASSDMultiple
-from .A_ASSD import GEOM,geom
+from .A_ASSD import ASSD, assd, UserASSD, UserASSDMultiple
+from .A_ASSD import GEOM, geom
+
# Pour le moment on laisse fonction (ceinture et bretelles)
from .A_ASSD import FONCTION, fonction
from .A_ASSD import formule
from Noyau.N_OPS import OPS, EMPTY_OPS
from Noyau.N_ASSD import not_checked
-from .A_VALIDATOR import OrVal,AndVal,OnlyStr
-from .A_VALIDATOR import OrdList,NoRepeat,LongStr,Compulsory,Absent,Together
+from .A_VALIDATOR import OrVal, AndVal, OnlyStr
+from .A_VALIDATOR import OrdList, NoRepeat, LongStr, Compulsory, Absent, Together
from .A_VALIDATOR import RangeVal, EnumVal, TypeVal, PairVal
from .A_VALIDATOR import CardVal, InstanceVal
from .A_VALIDATOR import VerifTypeTuple, VerifExiste
from .A_VALIDATOR import FileExtVal, FunctionVal
from .A_VALIDATOR import CreeMotClef
+from .A_VALIDATOR import compareAutreMC
+from .A_VALIDATOR import infFrereMC, supFrereMC
# On remplace la factory des validateurs initialement dans Noyau par celle
# de A_VALIDATOR
-from .A_VALIDATOR import validatorFactory
+from .A_VALIDATOR import validatorFactory
import Noyau.N_ENTITE
-Noyau.N_ENTITE.ENTITE.factories['validator']=validatorFactory
+
+Noyau.N_ENTITE.ENTITE.factories["validator"] = validatorFactory
from .A_SENSIBILITE import CONCEPT_SENSIBLE, REUSE_SENSIBLE, DERIVABLE