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