7 #ifndef __IPJOURNALIST_HPP__ 8 #define __IPJOURNALIST_HPP__ 135 __attribute__((format(printf, 4, 5)))
153 virtual void PrintStringOverLines(
158 const std::string& line
163 __attribute__((format(printf, 5, 6)))
165 virtual void PrintfIndented(
174 virtual void VPrintf(
182 virtual void VPrintfIndented(
197 virtual bool ProduceOutput(
208 virtual void FlushBuffer()
const;
223 virtual bool AddJournal(
232 const std::string& location_name,
233 const std::string& fname,
242 const std::string& location_name
246 virtual void DeleteAllJournals();
287 const std::string& name,
295 virtual std::string Name();
298 virtual void SetPrintLevel(
304 virtual void SetAllPrintLevels(
319 virtual bool IsAccepted(
331 PrintImpl(category, level, str);
342 PrintfImpl(category, level, pformat, ap);
359 virtual void PrintImpl(
366 virtual void PrintfImpl(
374 virtual void FlushBufferImpl() = 0;
420 const std::string& name,
445 virtual void PrintImpl(
452 virtual void PrintfImpl(
460 virtual void FlushBufferImpl();
501 const std::string& name,
510 void SetOutputStream(
521 virtual void PrintImpl(
528 virtual void PrintfImpl(
536 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.
ipindex Index
Type of all indices of vectors, matrices etc.
This file contains a base class for all exceptions and a set of macros to help with exceptions...
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.
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_