FileTemplate.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) YEAR YOUR NAME         <Your e-mail address>            *
00003  *                                                                         *
00004  *   This file is part of the FreeCAD CAx development system.              *
00005  *                                                                         *
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU Library General Public           *
00008  *   License as published by the Free Software Foundation; either          *
00009  *   version 2 of the License, or (at your option) any later version.      *
00010  *                                                                         *
00011  *   This library  is distributed in the hope that it will be useful,      *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU Library General Public License for more details.                  *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Library General Public     *
00017  *   License along with this library; see the file COPYING.LIB. If not,    *
00018  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00019  *   Suite 330, Boston, MA  02111-1307, USA                                *
00020  *                                                                         *
00021  ***************************************************************************/
00022 
00023 
00024 #ifndef BASE_FILETEMPLATE_H
00025 #define BASE_FILETEMPLATE_H
00026 
00027 // Std. configurations
00028 
00029 #include <string>
00030 
00031 namespace Base
00032 {
00033 
00034 
00082 class BaseExport ClassTemplate
00083 {
00084 public:
00086     ClassTemplate();
00088     virtual ~ClassTemplate();
00089 
00090     int testMe(int a,const char *s);
00091 
00097     enum TEnum { 
00098         TVal1, 
00099         TVal2, 
00100         TVal3  
00101     } 
00102     *enumPtr, 
00103     enumVar;  
00111     virtual void testMeToo(char c1,char c2) = 0;
00112 
00115 
00116     virtual void one(void)=0;
00118     virtual void two(void)=0;
00120     virtual void three(void)=0;
00122 
00123 
00128     int publicVar;
00129  
00134     int (*handler)(int a,int b);
00135 
00136     std::string something;
00137 };
00138 
00139 } //namespace Base
00140 
00141 #endif // BASE_FILETEMPLATE_H
00142 

Generated on Wed Nov 23 19:00:14 2011 for FreeCAD by  doxygen 1.6.1