StreamJournal class. More...
#include <IpJournalist.hpp>


Public Member Functions | |
| StreamJournal (const std::string &name, EJournalLevel default_level) | |
| Constructor. | |
| virtual | ~StreamJournal () |
| Destructor. | |
| void | SetOutputStream (std::ostream *os) |
| Setting the output stream pointer. | |
Protected Member Functions | |
Implementation version of Print methods - Overloaded from | |
| virtual void | PrintImpl (EJournalCategory category, EJournalLevel level, const char *str) |
| Print to the designated output location. | |
| virtual void | PrintfImpl (EJournalCategory category, EJournalLevel level, const char *pformat, va_list ap) |
| Printf to the designated output location. | |
| virtual void | FlushBufferImpl () |
| Flush output buffer. | |
Private Member Functions | |
Default Compiler Generated Methods | |
| StreamJournal () | |
| Default Constructor. | |
| StreamJournal (const StreamJournal &) | |
| Copy Constructor. | |
| void | operator= (const StreamJournal &) |
| Overloaded Equals Operator. | |
Private Attributes | |
| std::ostream * | os_ |
| pointer to output stream for the output destination | |
| char | buffer_ [32768] |
| buffer for sprintf. | |
StreamJournal class.
This is a particular Journal implementation that writes to a stream for output.
Definition at line 427 of file IpJournalist.hpp.
| Ipopt::StreamJournal::StreamJournal | ( | const std::string & | name, | |
| EJournalLevel | default_level | |||
| ) |
Constructor.
| virtual Ipopt::StreamJournal::~StreamJournal | ( | ) | [inline, virtual] |
Destructor.
Definition at line 434 of file IpJournalist.hpp.
| Ipopt::StreamJournal::StreamJournal | ( | ) | [private] |
Default Constructor.
| Ipopt::StreamJournal::StreamJournal | ( | const StreamJournal & | ) | [private] |
Copy Constructor.
| void Ipopt::StreamJournal::SetOutputStream | ( | std::ostream * | os | ) |
Setting the output stream pointer.
| virtual void Ipopt::StreamJournal::PrintImpl | ( | EJournalCategory | category, | |
| EJournalLevel | level, | |||
| const char * | str | |||
| ) | [protected, virtual] |
Print to the designated output location.
Implements Ipopt::Journal.
| virtual void Ipopt::StreamJournal::PrintfImpl | ( | EJournalCategory | category, | |
| EJournalLevel | level, | |||
| const char * | pformat, | |||
| va_list | ap | |||
| ) | [protected, virtual] |
Printf to the designated output location.
Implements Ipopt::Journal.
| virtual void Ipopt::StreamJournal::FlushBufferImpl | ( | ) | [protected, virtual] |
Flush output buffer.
Implements Ipopt::Journal.
| void Ipopt::StreamJournal::operator= | ( | const StreamJournal & | ) | [private] |
Overloaded Equals Operator.
Reimplemented from Ipopt::Journal.
std::ostream* Ipopt::StreamJournal::os_ [private] |
pointer to output stream for the output destination
Definition at line 477 of file IpJournalist.hpp.
char Ipopt::StreamJournal::buffer_[32768] [private] |
1.6.1