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