Last change
on this file since 2560 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
|
Line | |
---|
1 | // |
---|
2 | // C++ Implementation: STFitEntry |
---|
3 | // |
---|
4 | // Description: |
---|
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" |
---|
13 | #include <casa/iostream.h> |
---|
14 | |
---|
15 | using namespace casa; |
---|
16 | namespace asap { |
---|
17 | |
---|
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 | */ |
---|
27 | { |
---|
28 | } |
---|
29 | STFitEntry::STFitEntry(const STFitEntry& other) |
---|
30 | { |
---|
31 | if ( this != &other ) { |
---|
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 | |
---|
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 | |
---|
53 | STFitEntry::~STFitEntry() |
---|
54 | { |
---|
55 | } |
---|
56 | |
---|
57 | |
---|
58 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.