00001 // Copyright (C) 2004, 2006 International Business Machines and others. 00002 // All Rights Reserved. 00003 // This code is published under the Common Public License. 00004 // 00005 // $Id: IpRestoIterationOutput.hpp 759 2006-07-07 03:07:08Z andreasw $ 00006 // 00007 // Authors: Carl Laird, Andreas Waechter IBM 2004-09-27 00008 00009 #ifndef __IPRESTOITERATIONOUTPUT_HPP__ 00010 #define __IPRESTOITERATIONOUTPUT_HPP__ 00011 00012 #include "IpIterationOutput.hpp" 00013 #include "IpOrigIterationOutput.hpp" 00014 00015 namespace Ipopt 00016 { 00017 00022 class RestoIterationOutput: public IterationOutput 00023 { 00024 public: 00031 RestoIterationOutput(const SmartPtr<OrigIterationOutput>& resto_orig_iteration_output); 00032 00034 virtual ~RestoIterationOutput(); 00036 00038 virtual bool InitializeImpl(const OptionsList& options, 00039 const std::string& prefix); 00040 00044 virtual void WriteOutput(); 00045 00046 private: 00054 RestoIterationOutput(); 00055 00057 RestoIterationOutput(const RestoIterationOutput&); 00058 00060 void operator=(const RestoIterationOutput&); 00062 00064 SmartPtr<OrigIterationOutput> resto_orig_iteration_output_; 00065 00068 bool print_info_string_; 00069 }; 00070 00071 } // namespace Ipopt 00072 00073 #endif