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

bcarchst.h

Go to the documentation of this file.
00001 #ifndef __BCARCHST_H_INCLUDED__
00002 #define __BCARCHST_H_INCLUDED__
00003 //**********************************************************************
00004 //                                                                     *
00005 //    Filename:      bcarchst.h                                        *
00006 //    Date:          17 Mar 2002                                       *
00007 //    File Version:  1                                                 *
00008 //                                                                     *
00009 //    Author:        Chris White (whitecf@bcs.org.uk)                  *
00010 //    Company:       Monitor Computing Services Ltd.                   *
00011 //                                                                     *
00012 //**********************************************************************
00013 //                                                                     *
00014 //    Copyright (C) 2002  Monitor Computing Services Ltd.              *
00015 //                                                                     *
00016 //    This program is free software; you can redistribute it and/or    *
00017 //    modify it under the terms of the GNU General Public License      *
00018 //    as published by the Free Software Foundation; either version 2   *
00019 //    of the License, or any later version.                            *
00020 //                                                                     *
00021 //    This program is distributed in the hope that it will be useful,  *
00022 //    but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00023 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00024 //    GNU General Public License for more details.                     *
00025 //                                                                     *
00026 //    You should have received a copy of the GNU General Public        *
00027 //    License (http://www.gnu.org/copyleft/gpl.html) along with this   *
00028 //    program; if not, write to:                                       *
00029 //       The Free Software Foundation Inc.,                            *
00030 //       59 Temple Place - Suite 330,                                  *
00031 //       Boston, MA  02111-1307,                                       *
00032 //       USA.                                                          *
00033 //                                                                     *
00034 //**********************************************************************
00035 //                                                                     *
00036 //    Notes:                                                           *
00037 //                                                                     *
00038 //**********************************************************************
00039 
00040 
00041 #include "bcarch.h"
00042 
00043 
00044 // Forward declerations
00045 class    iostream;
00046 class    string;
00047 
00048 
00049 namespace Monitor {
00050 namespace BellMaster {
00051 
00052 
00053 
00054 class BellCodeArchiveStream : public BellCodeArchive
00055 {
00056 public:
00057 
00061     BellCodeArchiveStream(iostream&   newStream);
00062 
00063 protected:
00064     virtual void
00065     storeDescription(const string&    description);
00066 
00067     virtual void
00068     storeSequence(const string&    sequence);
00069 
00070     virtual int
00071     retrieveDescription(string&    description);
00072 
00073     virtual int
00074     retrieveSequence(string&    sequence);
00075 
00076 private:
00077 
00081     iostream&    archiveStream;
00082 };  // class BellCodeArchiveStream
00083 
00084 };  // namespace BellMaster
00085 };  // namespace Monitor
00086 
00087 
00088 #endif // __BCARCHST_H_INCLUDED__

Generated on Wed Oct 29 20:54:52 2003 for Bellmaster BC Common by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002