]> SALOME platform Git repositories - tools/eficas.git/blob - Accas/__init__.py
Salome HOME
update version
[tools/eficas.git] / Accas / __init__.py
1 # -*- coding: iso-8859-1 -*-
2 # Copyright (C) 2007-2021   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
33 from __future__ import absolute_import
34 import warnings
35 warnings.filterwarnings('error','Non-ASCII character.*pep-0263',DeprecationWarning)
36
37 from .A_JDC_CATA import JDC_CATA
38 from .A_OPER     import OPER
39 from .A_PROC     import PROC
40 from .A_MACRO    import MACRO
41 from .A_FORM     import FORM
42 from .A_BLOC     import BLOC
43 from .A_FACT     import FACT
44 from .A_SIMP     import SIMP
45 from .A_EVAL     import EVAL
46 from .A_NUPLET   import NUPL
47 from .A_TUPLE    import Tuple
48 from .A_TUPLE    import Matrice
49
50
51 from .A_JDC import JDC
52 from .A_ETAPE import ETAPE
53 from .A_PROC_ETAPE import PROC_ETAPE
54 from .A_MACRO_ETAPE import MACRO_ETAPE
55 from .A_FORM_ETAPE import FORM_ETAPE
56 from .A_MCFACT import MCFACT
57 from .A_MCLIST import MCList
58 from .A_MCBLOC import MCBLOC
59 from .A_MCSIMP import MCSIMP
60
61 # Les regles
62 from .A_AU_MOINS_UN import AU_MOINS_UN
63 from .A_MEME_NOMBRE import MEME_NOMBRE
64 from .A_AU_PLUS_UN import AU_PLUS_UN
65 from .A_UN_PARMI import UN_PARMI
66 from .A_PRESENT_PRESENT import PRESENT_PRESENT
67 from .A_PRESENT_ABSENT import PRESENT_ABSENT
68 from .A_EXCLUS import EXCLUS
69 from .A_ENSEMBLE import ENSEMBLE
70 from .A_A_CLASSER import A_CLASSER
71 from .A_AVANT import AVANT
72
73 from .A_ASSD import ASSD,assd, UserASSD, UserASSDMultiple
74 from .A_ASSD import GEOM,geom
75 # Pour le moment on laisse fonction (ceinture et bretelles)
76 from .A_ASSD import FONCTION, fonction
77 from .A_ASSD import formule
78 from .A_ASSD import formule_c
79 from .A_ASSD import CO
80
81 from Noyau.N__F import _F
82
83 from Noyau.N_Exception import AsException
84 from Noyau.N_utils import AsType
85 from Noyau.N_utils import AsType
86 from Noyau.N_OPS import OPS, EMPTY_OPS
87 from Noyau.N_ASSD import not_checked
88
89 from .A_VALIDATOR import OrVal,AndVal,OnlyStr
90 from .A_VALIDATOR import OrdList,NoRepeat,LongStr,Compulsory,Absent,Together
91 from .A_VALIDATOR import RangeVal, EnumVal, TypeVal, PairVal
92 from .A_VALIDATOR import CardVal, InstanceVal
93 from .A_VALIDATOR import VerifTypeTuple, VerifExiste
94 from .A_VALIDATOR import FileExtVal, FunctionVal
95 from .A_VALIDATOR import CreeMotClef
96
97 # On remplace la factory des validateurs initialement dans Noyau par celle
98 # de A_VALIDATOR
99 from .A_VALIDATOR  import validatorFactory
100 import Noyau.N_ENTITE
101 Noyau.N_ENTITE.ENTITE.factories['validator']=validatorFactory
102
103 from .A_SENSIBILITE import CONCEPT_SENSIBLE, REUSE_SENSIBLE, DERIVABLE
104
105 from Extensions.niveau import NIVEAU
106 from Extensions.etape_niveau import ETAPE_NIVEAU
107 from Extensions.commentaire import COMMENTAIRE
108 from Extensions.parametre import PARAMETRE
109 from Extensions.parametre_eval import PARAMETRE_EVAL
110 from Extensions.commande_comm import COMMANDE_COMM
111 from Extensions.mcnuplet import MCNUPLET
112
113 from .A_SALOME_ENTRY import SalomeEntry