Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

typeAcceptor.hh

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * 00003 * $Id: typeAcceptor.hh,v 1.6 2001/10/24 04:05:20 porter Exp $ 00004 * 00005 * Author: R. Jeff Porter 00006 *************************************************************************** 00007 * 00008 * Description: buffer for file I/O for StDbTable (e.g. XmlReader/Writer) 00009 * 00010 *************************************************************************** 00011 * 00012 * $Log: typeAcceptor.hh,v $ 00013 * Revision 1.6 2001/10/24 04:05:20 porter 00014 * added long long type to I/O and got rid of obsolete dataIndex table 00015 * 00016 * Revision 1.5 2000/01/10 20:37:55 porter 00017 * expanded functionality based on planned additions or feedback from Online work. 00018 * update includes: 00019 * 1. basis for real transaction model with roll-back 00020 * 2. limited SQL access via the manager for run-log & tagDb 00021 * 3. balance obtained between enumerated & string access to databases 00022 * 4. 3-levels of diagnostic output: Quiet, Normal, Verbose 00023 * 5. restructured Node model for better XML support 00024 * 00025 * Revision 1.4 1999/12/03 22:24:01 porter 00026 * expanded functionality used by online, fixed bug in 00027 * mysqlAccessor::getElementID(char*), & update StDbDataSet to 00028 * conform to changes in Xml reader & writer 00029 * 00030 * Revision 1.3 1999/09/30 02:06:16 porter 00031 * add StDbTime to better handle timestamps, modify SQL content (mysqlAccessor) 00032 * allow multiple rows (StDbTable), & Added the comment sections at top of 00033 * each header and src file 00034 * 00035 **************************************************************************/ 00036 #ifndef TYPEACCEPTOR_HH 00037 #define TYPEACCEPTOR_HH 00038 00039 00040 class typeAcceptor { 00041 00042 public: 00043 00044 virtual ~typeAcceptor(){}; 00045 virtual void pass(char* name, short& i, int& len) = 0; 00046 virtual void pass(char* name, int& i, int& len) = 0; 00047 virtual void pass(char* name, long& i, int& len) = 0; 00048 virtual void pass(char* name, unsigned short& i, int& len) = 0; 00049 virtual void pass(char* name, unsigned int& i, int& len) = 0; 00050 virtual void pass(char* name, unsigned long& i, int& len) = 0; 00051 virtual void pass(char* name, long long& i, int& len) = 0; 00052 virtual void pass(char* name, float& i, int& len) = 0; 00053 virtual void pass(char* name, double& i, int& len) = 0; 00054 00055 virtual void pass(char* name, char*& i, int& len) = 0; 00056 virtual void pass(char* name, unsigned char& i, int& len) = 0; 00057 virtual void pass(char* name, unsigned char*& i, int& len) = 0; 00058 00059 virtual void pass(char* name, short*& i, int& len) = 0; 00060 virtual void pass(char* name, int*& i, int& len) = 0; 00061 virtual void pass(char* name, long*& i, int& len) = 0; 00062 virtual void pass(char* name, unsigned short*& i, int& len) = 0; 00063 virtual void pass(char* name, unsigned int*& i, int& len) = 0; 00064 virtual void pass(char* name, unsigned long*& i, int& len) = 0; 00065 virtual void pass(char* name, long long*& i, int& len) = 0; 00066 virtual void pass(char* name, float*& i, int& len) = 0; 00067 virtual void pass(char* name, double*& i, int& len) = 0; 00068 00069 }; 00070 00071 #endif 00072 00073 00074 00075 00076 00077 00078

Generated on Thu Aug 24 14:45:28 2006 for Doxygen by doxygen 1.3.7