source: trunk/Clp/src/ClpPdcoBase.cpp @ 2470

Last change on this file since 2470 was 2385, checked in by unxusr, 11 months ago

formatting

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1/* $Id: ClpPdcoBase.cpp 2385 2019-01-06 19:43:06Z 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// Copy constructor
29//-------------------------------------------------------------------
30ClpPdcoBase::ClpPdcoBase(const ClpPdcoBase &source)
31  : d1_(source.d1_)
32  , d2_(source.d2_)
33  , type_(source.type_)
34{
35}
36
37//-------------------------------------------------------------------
38// Destructor
39//-------------------------------------------------------------------
40ClpPdcoBase::~ClpPdcoBase()
41{
42}
43
44//----------------------------------------------------------------
45// Assignment operator
46//-------------------------------------------------------------------
47ClpPdcoBase &
48ClpPdcoBase::operator=(const ClpPdcoBase &rhs)
49{
50  if (this != &rhs) {
51    d1_ = rhs.d1_;
52    d2_ = rhs.d2_;
53    type_ = rhs.type_;
54  }
55  return *this;
56}
57
58/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
59*/
Note: See TracBrowser for help on using the repository browser.