Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
matlabjournal.hpp
Go to the documentation of this file.
1 // Copyright (C) 2007 Peter Carbonetto. All Rights Reserved.
2 // This code is published under the Eclipse Public License.
3 //
4 // Author: Peter Carbonetto
5 // Dept. of Computer Science
6 // University of British Columbia
7 // May 19, 2007
8
9 #ifndef INCLUDE_MATLABJOURNAL
10 #define INCLUDE_MATLABJOURNAL
11
12 #include "IpJournalist.hpp"
13
14 namespace Ipopt {
15
16 // Class MatlabJournal.
17 // ---------------------------------------------------------------
18 // This class encapsulates journal output to the MATLAB console.
19 class MatlabJournal : public Journal {
20 public:
21
22 // The constructor.
23 MatlabJournal (EJournalLevel default_level);
24
25 // The destructor.
26 virtual ~MatlabJournal() { };
27
28 protected:
29
30 // These functions override the functions in the Journal class.
31 virtual void PrintImpl (EJournalCategory category, EJournalLevel level,
32 const char* str);
33 virtual void PrintfImpl (EJournalCategory category, EJournalLevel level,
34 const char* pformat, va_list ap);
35 virtual void FlushBufferImpl();
36 };
37 }
38
39 #endif
Ipopt::MatlabJournal
Definition: matlabjournal.hpp:19
Ipopt::MatlabJournal::~MatlabJournal
virtual ~MatlabJournal()
Definition: matlabjournal.hpp:26
Ipopt::EJournalLevel
EJournalLevel
Print Level Enum.
Definition: IpJournalist.hpp:51
Ipopt::MatlabJournal::PrintImpl
virtual void PrintImpl(EJournalCategory category, EJournalLevel level, const char *str)
Print to the designated output location.
Ipopt::MatlabJournal::MatlabJournal
MatlabJournal(EJournalLevel default_level)
Ipopt::MatlabJournal::FlushBufferImpl
virtual void FlushBufferImpl()
Flush output buffer.
IpJournalist.hpp
Ipopt::Journal
Journal class (part of the Journalist implementation.).
Definition: IpJournalist.hpp:273
Ipopt::EJournalCategory
EJournalCategory
Category Selection Enum.
Definition: IpJournalist.hpp:70
Ipopt::MatlabJournal::PrintfImpl
virtual void PrintfImpl(EJournalCategory category, EJournalLevel level, const char *pformat, va_list ap)
Printf to the designated output location.