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();
This can be used by the user's application.
virtual void FlushBuffer()
Flush output buffer.
This can be used by the user's application.
This can be used by the user's application.
std::ostream * os_
pointer to output stream for the output destination
This can be used by the user's application.
std::string name_
Name of the output location.
FILE * file_
FILE pointer for the output destination.
This can be used by the user's application.
EJournalLevel
Print Level Enum.
This can be used by the user's application.
This can be used by the user's application.
Template class for Smart Pointers.
virtual ~StreamJournal()
Destructor.
Storing the reference count of all the smart pointers that currently reference it.
This can be used by the user's application.
This can be used by the user's application.
This can be used by the user's application.
This can be used by the user's application.
int Index
Type of all indices of vectors, matrices etc.
This can be used by the user's application.
This can be used by the user's application.
Class responsible for all message output.
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.
This can be used by the user's application.
This can be used by the user's application.
Journal class (part of the Journalist implementation.).
This can be used by the user's application.
This can be used by the user's application.
EJournalCategory
Category Selection Enum.
virtual void Print(EJournalCategory category, EJournalLevel level, const char *str)
Print to the designated output location.
std::vector< SmartPtr< Journal > > journals_