Salome HOME
update due to bugs PAL8113 and another I do not remember the number ;) .
[modules/med.git] / src / MEDMEM / MEDMEM_Unit.cxx
1 /*
2  File MEDMEM_Unit.cxx
3  $Header$
4 */
5
6 #include "MEDMEM_Unit.hxx"
7
8 using namespace std;
9 using namespace MEDMEM;
10
11 UNIT::UNIT():_name(""),_description(""),_masse(0),_length(0),_time(0),_temperature(0),_matterQuantity(0),_currentStrength(0),_lightIntensity(0) {
12   MESSAGE("UNIT()");
13 };
14
15 UNIT::UNIT(string Name, string Description):_name(Name),_description(Description),_masse(0),_length(0),_time(0),_temperature(0),_matterQuantity(0),_currentStrength(0),_lightIntensity(0) {
16   MESSAGE("UNIT(string Name, string Description)");
17 };
18
19 UNIT::~UNIT() {
20   MESSAGE("~UNIT()") ;
21 };
22
23 UNIT & UNIT::operator=(const UNIT &unit) {
24   MESSAGE("UNIT::operateur=") ;
25   _name=unit._name ;
26   _description=unit._description ;
27   _masse=unit._masse ; 
28   _length=unit._length ; 
29   _time=unit._time ; 
30   _temperature=unit._temperature ; 
31   _matterQuantity=unit._matterQuantity ; 
32   _currentStrength=unit._currentStrength ; 
33   _lightIntensity=unit._lightIntensity ; 
34   return *this;
35 };