Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

PrintStream.h

Go to the documentation of this file.
00001 //                              -*- Mode: C++ -*- 
00002 // PrintStream.h
00003 // Copyright © 2003 Laboratoire de Biologie Informatique et Théorique
00004 //                  Université de Montréal.
00005 // Author           : Martin Larose
00006 // Created On       : Fri Nov  7 17:04:53 2003
00007 // $Revision: 1.1 $
00008 // 
00009 // This file is part of xmlcpg.
00010 //
00011 // xmlcpg is free software; you can redistribute it and/or modify it under
00012 // the terms of the GNU Lesser General Public License as published by the Free
00013 // Software Foundation; either version 2 of the License, or (at your option)
00014 // any later version.
00015 //
00016 // xmlcpg is distributed in the hope that it will be useful, but WITHOUT ANY
00017 // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00018 // FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
00019 // more details.
00020 //
00021 // You should have received a copy of the GNU Lesser General Public License
00022 // along with xmlcpg; if not, write to the Free Software Foundation, Inc.,
00023 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00024 
00025 
00026 #ifndef _rnaml_PrintStream_h_
00027 #define _rnaml_PrintStream_h_
00028 
00029 #include "OutputStream.h"
00030 
00031 
00032 
00033 namespace rnaml
00034 {
00039   class PrintStream : public OutputStream
00040   {
00041     
00042   public:
00043     
00044     // LIFECYCLE ------------------------------------------------------------
00045     
00050     PrintStream (OutputStream *os);
00051     
00052     // OPERATORS ------------------------------------------------------------
00053     
00054     // ACCESS ---------------------------------------------------------------
00055     
00056     // METHODS --------------------------------------------------------------
00057     
00058     // I/O  -----------------------------------------------------------------
00059     
00064     void print (char c);
00065     
00070     void print (const char *s);
00071     
00076     void print (float f);
00077     
00082     void print (double d);
00083     
00088     void print (int i);
00089     
00094     void print (unsigned int u);
00095     
00100     void print (long l);
00101     
00105     void println ();
00106 
00107   };
00108 }
00109 
00110 #endif

Generated on Tue Nov 11 14:59:40 2003 for xmlcpg by doxygen1.2.18