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

Last change on this file since 1370 was 1370, checked in by forrest, 11 years ago

add ids

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1/* $Id: ClpPdcoBase.cpp 1370 2009-06-04 09:37:13Z forrest $ */
2// Copyright (C) 2003, International Business Machines
3// Corporation and others.  All Rights Reserved.
4#ifdef COIN_DO_PDCO
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}
60#endif
Note: See TracBrowser for help on using the repository browser.