00001 #ifndef ChapiDbHost_h
00002 #define ChapiDbHost_h
00003 #include <vector>
00004 #include <string>
00005 #include "limits.h"
00006
00007 const short DefaultPort = 3316;
00008 const double DefaultPower = 1.;
00009 const short DefaultCap = SHRT_MAX;
00010 using std::string;
00011
00012 class ChapiDbHost
00013 {
00014 public:
00015 string HostName;
00016 short Port;
00017 double Power;
00018
00019 unsigned short Cap;
00020
00021 ChapiDbHost(const std::string h="",
00022 const short p = DefaultPort,
00023 const double power = DefaultPower,
00024 const short cap = DefaultCap);
00025
00026 };
00027
00028 #endif