fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 feunit.h - description 00003 ------------------- 00004 begin : Do Jun 23 2005 00005 copyright : (C) 2005 by 00006 email : 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef FEUNIT_H 00019 #define FEUNIT_H 00020 00021 #include <cstdio> 00022 #include <string> 00023 00024 class FEunitData; 00025 00030 class FEunit { 00031 public: 00032 FEunit(); 00033 virtual ~FEunit(); 00034 00035 const char * getName(); 00036 00038 virtual int getSubunitsNumber(); 00039 00041 virtual const char * getSubunitName(int i); 00042 00043 virtual void get(); 00044 00045 virtual void get(FEunitData **data); 00046 00047 virtual void get(const char *par, FEunitData **data); 00048 00049 virtual void display(FILE *fout); 00050 00051 virtual FEunitData *ptr(); 00052 00053 protected: 00054 00055 std::string name; 00056 00057 FEunitData *data; 00058 00059 }; 00060 00061 #endif 00062 00063 00064 00065