source: trunk/src/STFitEntry.cpp@ 2405

Last change on this file since 2405 was 1932, checked in by WataruKawasaki, 14 years ago

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): poly_baseline()

Description: Malte's changes.


File size: 1.2 KB
RevLine 
[955]1//
2// C++ Implementation: STFitEntry
3//
[972]4// Description:
[955]5//
6//
7// Author: Malte Marquarding <Malte.Marquarding@csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#include "STFitEntry.h"
[1932]13#include <casa/iostream.h>
[955]14
[1932]15using namespace casa;
[955]16namespace asap {
17
[1932]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 */
[955]27{
28}
[972]29STFitEntry::STFitEntry(const STFitEntry& other)
30{
31 if ( this != &other ) {
[1932]32 this->functions_ = std::vector<std::string>();
33 this->components_ = other.components_;
34 this->parameters_ = other.parameters_;
35 this->errors_ = other.errors_;
36 this->frameinfo_ = other.frameinfo_;
37 }
38}
39
40STFitEntry& STFitEntry::operator=(const STFitEntry& other)
41{
42 if ( this != &other ) {
[972]43 this->functions_ = other.functions_;
44 this->components_ = other.components_;
45 this->parameters_ = other.parameters_;
[1932]46 this->errors_ = other.errors_;
[972]47 this->parmasks_ = other.parmasks_;
48 this->frameinfo_ = other.frameinfo_;
49 }
[1932]50 return *this;
[972]51}
[955]52
53STFitEntry::~STFitEntry()
54{
55}
56
57
58}
Note: See TracBrowser for help on using the repository browser.