Salome HOME
report modif variees + patch CEA
[tools/eficas.git] / Accas / __init__.py
1 # -*- coding: iso-8859-1 -*-
2 # Copyright (C) 2007-2019   EDF R&D
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20 """
21    Ce package contient les classes qui seront effectivement utilisees dans les applications.
22    C'est dans ce package que sont realisees les combinaisons de classes de base
23    avec les classes MIXIN qui implementent les fonctionnalites qui ont ete separees
24    du noyau pour des raisons de modularite afin de faciliter la maintenance et
25    l'extensibilite.
26
27    De plus toutes les classes utilisables par les applications sont remontees au
28    niveau du package afin de rendre le plus independant possible l'utilisation des
29    classes et leur implementation.
30 """
31
32 # permet de se proteger de l'oubli de carte coding
33 # ce warning deviendra fatal en python 2.4
34 from __future__ import absolute_import
35 import warnings
36 warnings.filterwarnings('error','Non-ASCII character.*pep-0263',DeprecationWarning)
37
38 from .A_JDC_CATA import JDC_CATA
39 from .A_OPER import OPER
40 from .A_PROC import PROC
41 from .A_MACRO import MACRO
42 from .A_FORM import FORM
43 from .A_BLOC import BLOC
44 #from .A_BLOC import BLOC_EXCLUS_ABC
45 #from .A_BLOC import BLOC_FICHIER
46 from .A_FACT import FACT
47 from .A_SIMP import SIMP
48 from .A_EVAL import EVAL
49 from .A_NUPLET import NUPL
50 from .A_TUPLE import Tuple
51
52
53 from .A_JDC import JDC
54 from .A_ETAPE import ETAPE
55 from .A_PROC_ETAPE import PROC_ETAPE
56 from .A_MACRO_ETAPE import MACRO_ETAPE
57 from .A_FORM_ETAPE import FORM_ETAPE
58 from .A_MCFACT import MCFACT
59 from .A_MCLIST import MCList
60 from .A_MCBLOC import MCBLOC
61 from .A_MCSIMP import MCSIMP
62
63 # Les regles
64 from .A_AU_MOINS_UN import AU_MOINS_UN
65 from .A_MEME_NOMBRE import MEME_NOMBRE
66 from .A_AU_PLUS_UN import AU_PLUS_UN
67 from .A_UN_PARMI import UN_PARMI
68 from .A_PRESENT_PRESENT import PRESENT_PRESENT
69 from .A_PRESENT_ABSENT import PRESENT_ABSENT
70 from .A_EXCLUS import EXCLUS
71 from .A_ENSEMBLE import ENSEMBLE
72 from .A_A_CLASSER import A_CLASSER
73 from .A_AVANT import AVANT
74
75 from .A_ASSD import ASSD,assd, UserASSD
76 from .A_ASSD import GEOM,geom
77 # Pour le moment on laisse fonction (ceinture et bretelles)
78 from .A_ASSD import FONCTION, fonction
79 from .A_ASSD import formule
80 from .A_ASSD import formule_c
81 from .A_ASSD import CO
82
83 from Noyau.N__F import _F
84
85 from Noyau.N_Exception import AsException
86 from Noyau.N_utils import AsType
87 from Noyau.N_utils import AsType
88 from Noyau.N_OPS import OPS, EMPTY_OPS
89 from Noyau.N_ASSD import not_checked
90
91 from .A_VALIDATOR import OrVal,AndVal,OnlyStr
92 from .A_VALIDATOR import OrdList,NoRepeat,LongStr,Compulsory,Absent,Together
93 from .A_VALIDATOR import RangeVal, EnumVal, TypeVal, PairVal
94 from .A_VALIDATOR import CardVal, InstanceVal
95 from .A_VALIDATOR import VerifTypeTuple, VerifExiste
96 from .A_VALIDATOR import FileExtVal, FunctionVal
97 from .A_VALIDATOR import CreeMotClef 
98
99 # On remplace la factory des validateurs initialement dans Noyau par celle
100 # de A_VALIDATOR
101 from .A_VALIDATOR  import validatorFactory
102 import Noyau.N_ENTITE
103 Noyau.N_ENTITE.ENTITE.factories['validator']=validatorFactory
104
105 from .A_SENSIBILITE import CONCEPT_SENSIBLE, REUSE_SENSIBLE, DERIVABLE
106
107 from Extensions.niveau import NIVEAU
108 from Extensions.etape_niveau import ETAPE_NIVEAU
109 from Extensions.commentaire import COMMENTAIRE
110 from Extensions.parametre import PARAMETRE  
111 from Extensions.parametre_eval import PARAMETRE_EVAL
112 from Extensions.commande_comm import COMMANDE_COMM 
113 from Extensions.mcnuplet import MCNUPLET
114
115 from .A_SALOME_ENTRY import SalomeEntry