source: trunk/src/STFitEntry.cpp @ 3106

Last change on this file since 3106 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
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
15namespace asap {
16
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  */
26{
27}
28STFitEntry::STFitEntry(const STFitEntry& other)
29{
30  if ( this != &other ) {
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 ) {
42    this->functions_ = other.functions_;
43    this->components_ = other.components_;
44    this->parameters_ = other.parameters_;
45    this->errors_ = other.errors_;
46    this->parmasks_ = other.parmasks_;
47    this->frameinfo_ = other.frameinfo_;
48  }
49  return *this;
50}
51
52STFitEntry::~STFitEntry()
53{
54}
55
56
57}
Note: See TracBrowser for help on using the repository browser.