Changeset 431 in PSPA for Interface_Web/trunk/pspaWT/sources/controler/src/abstractElement.cc
- Timestamp:
- Nov 15, 2013, 3:30:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/controler/src/abstractElement.cc
r418 r431 5 5 #include "abstractElement.h" 6 6 7 abstractElement::abstractElement() 8 //: nameOfSoftware_(NULL) 9 : abstractSoftware_(NULL) 7 abstractElement::abstractElement() : abstractSoftware_(NULL) 10 8 { 11 9 setDefaultValues(); … … 14 12 } 15 13 16 abstractElement::abstractElement(string lab) 17 //: nameOfSoftware_(NULL) 18 : abstractSoftware_(NULL) 14 abstractElement::abstractElement(string lab) : abstractSoftware_(NULL) 19 15 { 20 16 specificName_ = lab; … … 27 23 { 28 24 if (parametersString_ != NULL) delete [] parametersString_ ; 29 // if ( nameOfSoftware_ != NULL ) delete nameOfSoftware_;30 25 } 31 26 … … 62 57 } 63 58 64 string abstractElement::getLabel() const 65 { 59 string abstractElement::getLabel() const { 66 60 return specificName_; 67 61 } 68 62 69 70 nomdElements abstractElement::getNomdElement() const 71 { 63 nomdElements abstractElement::getNomdElement() const { 72 64 return elementName_; 73 65 } 74 75 76 66 77 67 double abstractElement::getLenghtOfElement() const { … … 83 73 } 84 74 85 86 75 double abstractElement::getInitialKineticEnergy() const { 87 76 return 0.0; 88 77 } 89 90 91
Note: See TracChangeset
for help on using the changeset viewer.