00001 /*---------------------------------------------------------------------------*\ 00002 * OpenSG * 00003 * * 00004 * * 00005 * Copyright (C) 2000-2002 by the OpenSG Forum * 00006 * * 00007 * www.opensg.org * 00008 * * 00009 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 00010 * * 00011 \*---------------------------------------------------------------------------*/ 00012 /*---------------------------------------------------------------------------*\ 00013 * License * 00014 * * 00015 * This library is free software; you can redistribute it and/or modify it * 00016 * under the terms of the GNU Library General Public License as published * 00017 * by the Free Software Foundation, version 2. * 00018 * * 00019 * This library is distributed in the hope that it will be useful, but * 00020 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00022 * Library General Public License for more details. * 00023 * * 00024 * You should have received a copy of the GNU Library General Public * 00025 * License along with this library; if not, write to the Free Software * 00026 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00027 * * 00028 \*---------------------------------------------------------------------------*/ 00029 /*---------------------------------------------------------------------------*\ 00030 * Changes * 00031 * * 00032 * * 00033 * * 00034 * * 00035 * * 00036 * * 00037 \*---------------------------------------------------------------------------*/ 00038 00039 #ifndef _OSGSCANPARSESKELBASE_H_ 00040 #define _OSGSCANPARSESKELBASE_H_ 00041 #ifdef __sgi 00042 #pragma once 00043 #endif 00044 00049 //--------------------------------------------------------------------------- 00050 // Includes 00051 //--------------------------------------------------------------------------- 00052 00053 #include <OSGBaseTypes.h> 00054 #include <OSGSystemDef.h> 00055 00056 OSG_BEGIN_NAMESPACE 00057 00058 //--------------------------------------------------------------------------- 00059 // Forward References 00060 //--------------------------------------------------------------------------- 00061 00062 //--------------------------------------------------------------------------- 00063 // Types 00064 //--------------------------------------------------------------------------- 00065 00066 //--------------------------------------------------------------------------- 00067 // Class 00068 //--------------------------------------------------------------------------- 00069 00073 class OSG_SYSTEMLIB_DLLMAPPING ScanParseSkelBase 00074 { 00075 private: 00076 00077 //----------------------------------------------------------------------- 00078 // types 00079 //----------------------------------------------------------------------- 00080 00081 public: 00082 00083 //----------------------------------------------------------------------- 00084 // types 00085 //----------------------------------------------------------------------- 00086 00087 //----------------------------------------------------------------------- 00088 // constants 00089 //----------------------------------------------------------------------- 00090 00091 //----------------------------------------------------------------------- 00092 // enums 00093 //----------------------------------------------------------------------- 00094 00095 private: 00096 00097 //----------------------------------------------------------------------- 00098 // enums 00099 //----------------------------------------------------------------------- 00100 00101 //----------------------------------------------------------------------- 00102 // types 00103 //----------------------------------------------------------------------- 00104 00105 //----------------------------------------------------------------------- 00106 // friend classes 00107 //----------------------------------------------------------------------- 00108 00109 //----------------------------------------------------------------------- 00110 // friend functions 00111 //----------------------------------------------------------------------- 00112 00113 //----------------------------------------------------------------------- 00114 // class variables 00115 //----------------------------------------------------------------------- 00116 00117 //----------------------------------------------------------------------- 00118 // class functions 00119 //----------------------------------------------------------------------- 00120 00121 //----------------------------------------------------------------------- 00122 // instance variables 00123 //----------------------------------------------------------------------- 00124 00125 //----------------------------------------------------------------------- 00126 // instance functions 00127 //----------------------------------------------------------------------- 00128 00130 ScanParseSkelBase(const ScanParseSkelBase &source); 00132 void operator =(const ScanParseSkelBase &source); 00133 00134 protected: 00135 00136 //----------------------------------------------------------------------- 00137 // enums 00138 //----------------------------------------------------------------------- 00139 00140 //----------------------------------------------------------------------- 00141 // types 00142 //----------------------------------------------------------------------- 00143 00144 //----------------------------------------------------------------------- 00145 // class variables 00146 //----------------------------------------------------------------------- 00147 00148 //----------------------------------------------------------------------- 00149 // class functions 00150 //----------------------------------------------------------------------- 00151 00152 //----------------------------------------------------------------------- 00153 // instance variables 00154 //----------------------------------------------------------------------- 00155 00156 //----------------------------------------------------------------------- 00157 // instance functions 00158 //----------------------------------------------------------------------- 00159 00160 ScanParseSkelBase(void) {}; 00161 00162 virtual ~ScanParseSkelBase(void) {}; 00163 00164 public : 00165 00166 //----------------------------------------------------------------------- 00167 // class functions 00168 //----------------------------------------------------------------------- 00169 00170 //----------------------------------------------------------------------- 00171 // instance functions 00172 //----------------------------------------------------------------------- 00173 00174 /*------------------------- your_category -------------------------------*/ 00175 00176 virtual bool verifyHeader (const Char8 *szHeader ) = 0; 00177 virtual void addFieldValue(const Char8 *szFieldVal ) = 0; 00178 virtual void handleError (const Char8 *szErrorText) = 0; 00179 00180 /*------------------------- your_operators ------------------------------*/ 00181 00182 /*------------------------- assignment ----------------------------------*/ 00183 00184 /*------------------------- comparison ----------------------------------*/ 00185 }; 00186 00187 OSG_END_NAMESPACE 00188 00189 #define OSGSCANPARSESKELBASE_HEADER_CVSID "@(#)$Id: $" 00190 00191 #endif /* _OSGSCANPARSESKELBASE_H_ */
1.4.3