]> SALOME platform Git repositories - modules/med.git/blob - src/MEDMEM/MEDMEM_Unit.cxx
Salome HOME
Initialisation module MED_SRC de la base MED
[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 UNIT::UNIT():_name(""),_description(""),_masse(0),_length(0),_time(0),_temperature(0),_matterQuantity(0),_currentStrength(0),_lightIntensity(0) {
9   MESSAGE("UNIT()");
10 };
11
12 UNIT::UNIT(string Name, string Description):_name(Name),_description(Description),_masse(0),_length(0),_time(0),_temperature(0),_matterQuantity(0),_currentStrength(0),_lightIntensity(0) {
13   MESSAGE("UNIT(string Name, string Description)");
14 };
15
16 UNIT::~UNIT() {
17   MESSAGE("~UNIT()") ;
18 };
19
20 UNIT & UNIT::operator=(const UNIT &unit) {
21   MESSAGE("UNIT::operateur=") ;
22   _name=unit._name ;
23   _description=unit._description ;
24   _masse=unit._masse ; 
25   _length=unit._length ; 
26   _time=unit._time ; 
27   _temperature=unit._temperature ; 
28   _matterQuantity=unit._matterQuantity ; 
29   _currentStrength=unit._currentStrength ; 
30   _lightIntensity=unit._lightIntensity ; 
31   return *this;
32 };