source: stable/1.15/Clp/src/ClpPdcoBase.cpp @ 1941

Last change on this file since 1941 was 1941, checked in by stefan, 6 years ago

sync with trunk rev 1940

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1/* $Id: ClpPdcoBase.cpp 1941 2013-04-10 16:52:27Z stefan $ */
2// Copyright (C) 2003, International Business Machines
3// Corporation and others.  All Rights Reserved.
4// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6#include "CoinPragma.hpp"
7
8#include <iostream>
9
10#include "ClpPdcoBase.hpp"
11#include "ClpPdco.hpp"
12
13//#############################################################################
14// Constructors / Destructor / Assignment
15//#############################################################################
16
17//-------------------------------------------------------------------
18// Default Constructor
19//-------------------------------------------------------------------
20ClpPdcoBase::ClpPdcoBase () :
21     d1_(0.0),
22     d2_(0.0),
23     type_(-1)
24{
25
26}
27
28//-------------------------------------------------------------------
29// Copy constructor
30//-------------------------------------------------------------------
31ClpPdcoBase::ClpPdcoBase (const ClpPdcoBase & source) :
32     d1_(source.d1_),
33     d2_(source.d2_),
34     type_(source.type_)
35{
36
37}
38
39//-------------------------------------------------------------------
40// Destructor
41//-------------------------------------------------------------------
42ClpPdcoBase::~ClpPdcoBase ()
43{
44
45}
46
47//----------------------------------------------------------------
48// Assignment operator
49//-------------------------------------------------------------------
50ClpPdcoBase &
51ClpPdcoBase::operator=(const ClpPdcoBase& rhs)
52{
53     if (this != &rhs) {
54          d1_ = rhs.d1_;
55          d2_ = rhs.d2_;
56          type_ = rhs.type_;
57     }
58     return *this;
59}
Note: See TracBrowser for help on using the repository browser.