Go to the documentation of this file.
7 #ifndef __IPJOURNALIST_HPP__
8 #define __IPJOURNALIST_HPP__
150 virtual void PrintStringOverLines(
155 const std::string& line
159 virtual void PrintfIndented(
168 virtual void VPrintf(
176 virtual void VPrintfIndented(
191 virtual bool ProduceOutput(
202 virtual void FlushBuffer()
const;
217 virtual bool AddJournal(
226 const std::string& location_name,
227 const std::string& fname,
236 const std::string& location_name
240 virtual void DeleteAllJournals();
281 const std::string& name,
289 virtual std::string Name();
292 virtual void SetPrintLevel(
298 virtual void SetAllPrintLevels(
313 virtual bool IsAccepted(
325 PrintImpl(category, level, str);
336 PrintfImpl(category, level, pformat, ap);
353 virtual void PrintImpl(
360 virtual void PrintfImpl(
368 virtual void FlushBufferImpl() = 0;
414 const std::string& name,
439 virtual void PrintImpl(
446 virtual void PrintfImpl(
454 virtual void FlushBufferImpl();
495 const std::string& name,
504 void SetOutputStream(
515 virtual void PrintImpl(
522 virtual void PrintfImpl(
530 virtual void FlushBufferImpl();
@ J_USER5
This can be used by the user's application.
virtual void Printf(EJournalCategory category, EJournalLevel level, const char *pformat, va_list ap)
Printf to the designated output location.
@ J_USER10
This can be used by the user's application.
@ J_USER7
This can be used by the user's application.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
@ J_USER6
This can be used by the user's application.
@ J_USER9
This can be used by the user's application.
@ J_USER13
This can be used by the user's application.
EJournalLevel
Print Level Enum.
int Index
Type of all indices of vectors, matrices etc.
@ J_USER17
This can be used by the user's application.
Journal class (part of the Journalist implementation.).
Template class for Smart Pointers.
@ J_USER8
This can be used by the user's application.
@ J_USER15
This can be used by the user's application.
EJournalCategory
Category Selection Enum.
virtual void FlushBuffer()
Flush output buffer.
@ J_USER14
This can be used by the user's application.
@ J_USER11
This can be used by the user's application.
virtual void Print(EJournalCategory category, EJournalLevel level, const char *str)
Print to the designated output location.
Class responsible for all message output.
FILE * file_
FILE pointer for the output destination.
@ J_USER12
This can be used by the user's application.
@ J_HESSIAN_APPROXIMATION
@ J_USER_APPLICATION
This can be used by the user's application.
std::ostream * os_
pointer to output stream for the output destination
std::vector< SmartPtr< Journal > > journals_
std::string name_
Name of the output location.
@ J_USER1
This can be used by the user's application.
@ J_USER3
This can be used by the user's application.
@ J_USER4
This can be used by the user's application.
@ J_USER2
This can be used by the user's application.
Storing the reference count of all the smart pointers that currently reference it.
@ J_USER16
This can be used by the user's application.
virtual ~StreamJournal()
Destructor.