00001 #ifndef COMMONTABLE_H_
00002 #define COMMONTABLE_H_
00003
00004
00005 #include <iostream>
00006 #include <iomanip>
00007 #include <cstdio>
00008 #include <vector>
00009 #include <string.h>
00010
00011
00012 using namespace std;
00013
00014 #define _MAXCHAR_ 200
00015
00016 typedef void (*functionpointer) (int);
00017
00018
00019 class CommonTableType
00020 {
00021 protected:
00022 char *Name;
00023 int Code;
00024 CommonTableType()
00025 {
00026 Name=new char[_MAXCHAR_];
00027 };
00028 CommonTableType(int code)
00029 { Code = code;
00030 Name=new char[_MAXCHAR_];
00031 };
00032 ~CommonTableType();
00033 size_t StringSplit (const string &text, const string &separators, vector< string > &words, bool bAddEmptyStrings );
00034 };
00035
00036
00037 #endif
00038