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

Last change on this file since 1304 was 1171, checked in by forrest, 12 years ago

put back pdco in case wanted

File size: 1.4 KB
Line 
1// Copyright (C) 2003, International Business Machines
2// Corporation and others.  All Rights Reserved.
3#ifdef COIN_DO_PDCO
4
5#include "CoinPragma.hpp"
6
7#include <iostream>
8
9#include "ClpPdcoBase.hpp"
10#include "ClpPdco.hpp"
11
12//#############################################################################
13// Constructors / Destructor / Assignment
14//#############################################################################
15
16//-------------------------------------------------------------------
17// Default Constructor
18//-------------------------------------------------------------------
19ClpPdcoBase::ClpPdcoBase () :
20  d1_(0.0),
21  d2_(0.0),
22  type_(-1)
23{
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//-------------------------------------------------------------------
39// Destructor
40//-------------------------------------------------------------------
41ClpPdcoBase::~ClpPdcoBase ()
42{
43
44}
45
46//----------------------------------------------------------------
47// Assignment operator
48//-------------------------------------------------------------------
49ClpPdcoBase &
50ClpPdcoBase::operator=(const ClpPdcoBase& rhs)
51{
52  if (this != &rhs) {
53    d1_ = rhs.d1_;
54    d2_ = rhs.d2_;
55    type_ = rhs.type_;
56  }
57  return *this;
58}
59#endif
Note: See TracBrowser for help on using the repository browser.