00001 #ifndef __PAIRE_H
00002 #define __PAIRE_H
00003
00004 #include "MuteVar.h"
00005 #include <string>
00006
00007
00009
00010
00011
00012
00013
00014 struct Paire
00015 {
00016 MuteVar variable;
00017 std::string nom;
00018
00020 Paire() {}
00021
00023 Paire(const Paire & p):variable(p.variable),nom(p.nom) {}
00024
00026 Paire & operator=(const Paire & p)
00027 {
00028 if(this != &p)
00029 {
00030 variable = p.variable;
00031 nom = p.nom;
00032 }
00033 return *this;
00034 }
00035
00041 Paire(const MuteVar & _variable, const std::string & _nom)
00042 :variable(_variable), nom(_nom)
00043 {}
00044
00045 ~Paire() {}
00046 };
00047
00048
00049 #endif