Salome HOME
Merge branch 'nouvelEficas' of http://git.forge-pleiade.der.edf.fr/git/eficas into...
[tools/eficas.git] / Accas / __init__.py
index c0711f72e75430c7c9723eb0a2815f8376a07ef9..716fd6f3ff3fde94c2286aaf1a3606baef33726b 100644 (file)
@@ -1,14 +1,39 @@
+# -*- coding: iso-8859-1 -*-
+# Copyright (C) 2007-2015   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
+#
 """
-   Ce package contient les classes qui seront effectivement utilisées dans les applications. 
-   C'est dans ce package que sont réalisées les combinaisons de classes de base
-   avec les classes MIXIN qui implémentent les fonctionnalités qui ont été séparées
-   du noyau pour des raisons de modularité afin de faciliter la maintenance et
-   l'extensibilité.
-
-   De plus toutes les classes utilisables par les applications sont remontées au
-   niveau du package afin de rendre le plus indépendant possible l'utilisation des
-   classes et leur implémentation.
+   Ce package contient les classes qui seront effectivement utilisees dans les applications.
+   C'est dans ce package que sont realisees les combinaisons de classes de base
+   avec les classes MIXIN qui implementent les fonctionnalites qui ont ete separees
+   du noyau pour des raisons de modularite afin de faciliter la maintenance et
+   l'extensibilite.
+
+   De plus toutes les classes utilisables par les applications sont remontees au
+   niveau du package afin de rendre le plus independant possible l'utilisation des
+   classes et leur implementation.
 """
+
+# permet de se proteger de l'oubli de carte coding
+# ce warning deviendra fatal en python 2.4
+import warnings
+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
@@ -30,24 +55,49 @@ from A_MCLIST import MCList
 from A_MCBLOC import MCBLOC
 from A_MCSIMP import MCSIMP
 
-# Les règles
+# Les regles
 from A_AU_MOINS_UN import AU_MOINS_UN
+from A_MEME_NOMBRE import MEME_NOMBRE
+from A_AU_PLUS_UN import AU_PLUS_UN
 from A_UN_PARMI import UN_PARMI
 from A_PRESENT_PRESENT import PRESENT_PRESENT
 from A_PRESENT_ABSENT import PRESENT_ABSENT
 from A_EXCLUS import EXCLUS
 from A_ENSEMBLE import ENSEMBLE
 from A_A_CLASSER import A_CLASSER
+from A_AVANT import AVANT
 
 from A_ASSD import ASSD,assd
 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 A_ASSD import formule_c
 from A_ASSD import CO
 
 from Noyau.N__F import _F
 
 from Noyau.N_Exception import AsException
 from Noyau.N_utils import AsType
+from Noyau.N_utils import AsType
+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 RangeVal, EnumVal, TypeVal, PairVal
+from A_VALIDATOR import CardVal, InstanceVal
+from A_VALIDATOR import VerifTypeTuple, VerifExiste
+from A_VALIDATOR import FileExtVal, FunctionVal
+
+# On remplace la factory des validateurs initialement dans Noyau par celle
+# de A_VALIDATOR
+import A_VALIDATOR
+import Noyau.N_ENTITE
+Noyau.N_ENTITE.ENTITE.factories['validator']=A_VALIDATOR.validatorFactory
+
+from A_SENSIBILITE import CONCEPT_SENSIBLE, REUSE_SENSIBLE, DERIVABLE
+
 from Extensions.niveau import NIVEAU
 from Extensions.etape_niveau import ETAPE_NIVEAU
 from Extensions.commentaire import COMMENTAIRE
@@ -56,3 +106,4 @@ from Extensions.parametre_eval import PARAMETRE_EVAL
 from Extensions.commande_comm import COMMANDE_COMM 
 from Extensions.mcnuplet import MCNUPLET
 
+from A_SALOME_ENTRY import SalomeEntry