Changes in trunk/src/STFitEntry.cpp [1932:972]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFitEntry.cpp
r1932 r972 11 11 // 12 12 #include "STFitEntry.h" 13 #include <casa/iostream.h>14 13 15 using namespace casa;16 14 namespace asap { 17 15 18 STFitEntry::STFitEntry() 19 /* : 20 functions_( std::vector<std::string>()), 21 components_(std::vector<int>()), 22 parameters_(std::vector<float>()), 23 errors_(std::vector<float>()), 24 parmasks_(std::vector<bool>()), 25 frameinfo_(std::vector<std::string>()) 26 */ 16 STFitEntry::STFitEntry() 27 17 { 28 18 } … … 30 20 { 31 21 if ( this != &other ) { 32 this->functions_ = std::vector<std::string>();22 this->functions_ = other.functions_; 33 23 this->components_ = other.components_; 34 24 this->parameters_ = other.parameters_; 35 this-> errors_ = other.errors_;25 this->parmasks_ = other.parmasks_; 36 26 this->frameinfo_ = other.frameinfo_; 37 27 } 38 28 } 39 29 40 STFitEntry& STFitEntry::operator=(const STFitEntry& other)41 {42 if ( this != &other ) {43 this->functions_ = other.functions_;44 this->components_ = other.components_;45 this->parameters_ = other.parameters_;46 this->errors_ = other.errors_;47 this->parmasks_ = other.parmasks_;48 this->frameinfo_ = other.frameinfo_;49 }50 return *this;51 }52 30 53 31 STFitEntry::~STFitEntry()
Note:
See TracChangeset
for help on using the changeset viewer.