Package medite :: Package Donnees :: Module informationsChargees
[hide private]
[frames] | no frames]

Source Code for Module medite.Donnees.informationsChargees

 1  # -*- coding: iso-8859-1 -*- 
 2  # Copyright 20003 - 2008: Julien Bourdaillet (julien.bourdaillet@lip6.fr), Jean-Gabriel Ganascia (jean-gabriel.ganascia@lip6.fr) 
 3  # This file is part of MEDITE. 
 4  # 
 5  #    MEDITE is free software; you can redistribute it and/or modify 
 6  #    it under the terms of the GNU General Public License as published by 
 7  #    the Free Software Foundation; either version 2 of the License, or 
 8  #    (at your option) any later version. 
 9  # 
10  #    MEDITE is distributed in the hope that it will be useful, 
11  #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
12  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
13  #    GNU General Public License for more details. 
14  # 
15  #    You should have received a copy of the GNU General Public License 
16  #    along with Foobar; if not, write to the Free Software 
17  #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
18  #---------------------------------------------------------------------------- 
19  # Nom:          informationsChargees.py 
20  # Objet:        Classe qui regoupe les informations necessaires pour afficher 
21  #               les transformations et le commentaire d'un couple d'états 
22  #---------------------------------------------------------------------------- 
23   
24 -class InformationsChargees:
25 # Constructeur de la classe
26 - def __init__(self,pParametres, pResultat, pCommentaire):
27 # attribut du type parametres, contient les parametres utilises a la comparaison 28 self.__parametres = pParametres 29 # attribut du type Resultat, contient les listes des transformations du fichier xml 30 self.__resultat = pResultat 31 # chaine de caractere contenant le commentaire du fichier xml 32 self.__commentaire = pCommentaire
33 34 # Methodes d'acces aux attributs privees
35 - def getParametres(self):
36 return self.__parametres
37
38 - def getResultat(self):
39 return self.__resultat
40
41 - def getCommentaire(self):
42 return self.__commentaire
43