00001 #ifndef _DBFIELD_H_ 00002 #define _DBFIELD_H_ 00003 00004 #include <iostream> 00005 00006 using namespace std; 00007 00008 class DBField{ 00009 00010 private : 00011 string name; 00012 string type; 00013 int length; 00014 00015 public : 00016 DBField(string n, string t, int l); 00017 string getName(); 00018 string getType(); 00019 int getLength(); 00020 00021 }; 00022 00023 #endif