source: trunk/src/STFitEntry.cpp@ 3130

Last change on this file since 3130 was 3106, checked in by Takeshi Nakazato, 8 years ago

New Development: No

JIRA Issue: No

Ready for Test: Yes/No

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...


Check-in asap modifications from Jim regarding casacore namespace conversion.

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
15namespace asap {
16
[1932]17 STFitEntry::STFitEntry()
18 /* :
19 functions_( std::vector<std::string>()),
20 components_(std::vector<int>()),
21 parameters_(std::vector<float>()),
22 errors_(std::vector<float>()),
23 parmasks_(std::vector<bool>()),
24 frameinfo_(std::vector<std::string>())
25 */
[955]26{
27}
[972]28STFitEntry::STFitEntry(const STFitEntry& other)
29{
30 if ( this != &other ) {
[1932]31 this->functions_ = std::vector<std::string>();
32 this->components_ = other.components_;
33 this->parameters_ = other.parameters_;
34 this->errors_ = other.errors_;
35 this->frameinfo_ = other.frameinfo_;
36 }
37}
38
39STFitEntry& STFitEntry::operator=(const STFitEntry& other)
40{
41 if ( this != &other ) {
[972]42 this->functions_ = other.functions_;
43 this->components_ = other.components_;
44 this->parameters_ = other.parameters_;
[1932]45 this->errors_ = other.errors_;
[972]46 this->parmasks_ = other.parmasks_;
47 this->frameinfo_ = other.frameinfo_;
48 }
[1932]49 return *this;
[972]50}
[955]51
52STFitEntry::~STFitEntry()
53{
54}
55
56
57}
Note: See TracBrowser for help on using the repository browser.