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,
235 bool file_append =
false 243 const std::string& location_name
247 virtual void DeleteAllJournals();
288 const std::string& name,
296 virtual std::string Name();
299 virtual void SetPrintLevel(
305 virtual void SetAllPrintLevels(
320 virtual bool IsAccepted(
332 PrintImpl(category, level, str);
343 PrintfImpl(category, level, pformat, ap);
360 virtual void PrintImpl(
367 virtual void PrintfImpl(
375 virtual void FlushBufferImpl() = 0;
421 const std::string& name,
447 virtual void PrintImpl(
454 virtual void PrintfImpl(
462 virtual void FlushBufferImpl();
503 const std::string& name,
512 void SetOutputStream(
523 virtual void PrintImpl(
530 virtual void PrintfImpl(
538 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_