Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBlog.hxx

Go to the documentation of this file.
00001 #ifndef _CTBlog_HXX
00002 #define _CTBlog_HXX 1
00003 
00008 /*----------------------------------------------------------------------------*/
00009 /* C Tool Box: Designed and implemented by:                                   */
00010 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00011 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00012 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00013 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00014 /*------------------------------------------+---------------------------------*/
00015 
00016 class CTBlogHead {
00017   public:
00018                     CTBlogHead();
00019 
00020     void            ToStream(ostream& os) const;
00021 
00022   private:
00023     static int      mi_lastyear;            
00024     static int      mi_lastmon;             
00025     static int      mi_lastmday;            
00026 };
00027 
00028 ostream&            operator<<(ostream& os, const CTBlogHead& rhs);
00029 
00030 //------------------------------------------+-----------------------------------
00031 
00032 class CTBlogTail {
00033   public:
00034                     CTBlogTail();
00035 
00036     void            ToStream(ostream& os) const;
00037 };
00038 
00039 ostream&            operator<<(ostream& os, const CTBlogTail& rhs);
00040 
00041 //------------------------------------------+-----------------------------------
00042 
00043 class CTBlogLine {
00044   public:
00045                     CTBlogLine();
00046                     CTBlogLine(const char * c_message);
00047 
00048     void            ToStream(ostream& os) const;
00049 
00050   private:
00051 
00052     const char *    mc_message;             
00053   
00054 };
00055 
00056 ostream&            operator<<(ostream& os, const CTBlogLine& rhs);
00057 
00058 #if !(defined(CTB__OutLine) || defined(CTBlog__OutLine))
00059 #include "CTBlog.icc"
00060 #endif
00061 
00062 #endif

Generated at Fri Oct 24 18:11:28 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001