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

Last change on this file since 1879 was 1665, checked in by lou, 9 years ago

Add EPL license notice in src.

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/* $Id: ClpPdcoBase.cpp 1665 2011-01-04 17:55:54Z forrest $ */
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#ifdef COIN_DO_PDCO
7
8#include "CoinPragma.hpp"
9
10#include <iostream>
11
12#include "ClpPdcoBase.hpp"
13#include "ClpPdco.hpp"
14
15//#############################################################################
16// Constructors / Destructor / Assignment
17//#############################################################################
18
19//-------------------------------------------------------------------
20// Default Constructor
21//-------------------------------------------------------------------
22ClpPdcoBase::ClpPdcoBase () :
23     d1_(0.0),
24     d2_(0.0),
25     type_(-1)
26{
27
28}
29
30//-------------------------------------------------------------------
31// Copy constructor
32//-------------------------------------------------------------------
33ClpPdcoBase::ClpPdcoBase (const ClpPdcoBase & source) :
34     d1_(source.d1_),
35     d2_(source.d2_),
36     type_(source.type_)
37{
38
39}
40
41//-------------------------------------------------------------------
42// Destructor
43//-------------------------------------------------------------------
44ClpPdcoBase::~ClpPdcoBase ()
45{
46
47}
48
49//----------------------------------------------------------------
50// Assignment operator
51//-------------------------------------------------------------------
52ClpPdcoBase &
53ClpPdcoBase::operator=(const ClpPdcoBase& rhs)
54{
55     if (this != &rhs) {
56          d1_ = rhs.d1_;
57          d2_ = rhs.d2_;
58          type_ = rhs.type_;
59     }
60     return *this;
61}
62#endif
Note: See TracBrowser for help on using the repository browser.