relReaderWriter.h

Go to the documentation of this file.
00001 /*
00002  * CrocoPat is a tool for relational programming.
00003  * This file is part of CrocoPat. 
00004  *
00005  * Copyright (C) 2002-2008  Dirk Beyer
00006  *
00007  * CrocoPat is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public License
00009  * as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * CrocoPat is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public License
00018  * along with CrocoPat; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  * Please find the GNU Lesser General Public License in file
00022  * License_LGPL.txt or at http://www.gnu.org/licenses/lgpl.txt
00023  *
00024  * Author:
00025  * Dirk Beyer (firstname.lastname@sfu.ca)
00026  * Simon Fraser University
00027  *
00028  * With contributions of: Andreas Noack, Michael Vogel
00029  */
00030 
00031 #ifndef _relIO_h
00032 #define _relIO_h
00033 
00034 #include "relObject.h"
00035 
00036 #include <iostream>
00037 using namespace std;
00038 
00040 class relReaderWriter : public relObject
00041 {
00042 private:
00043   ostream* mCurrDataOutStream;
00044 
00045 public:
00046   ostream*
00047   getCurrDataOutStream()
00048   {
00049     return mCurrDataOutStream;
00050   }
00051     
00052   void
00053   setCurrDataOutStream(ostream* pOutStream)
00054   {
00055     mCurrDataOutStream = pOutStream;
00056   }
00057 
00058 };
00059 
00060 relReaderWriter& 
00061 operator<< (relReaderWriter& pOut, string pStr);
00062 
00063 #endif
00064 

Generated on Fri Jun 6 22:21:09 2008 for CrocoPat by  doxygen 1.5.1