00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef services_HPP
00012 #define services_HPP
00013
00014 #include "read_write_base.hpp"
00015
00016 class services_Obj: public read_write_base
00017 {
00018 public:
00019 identifier id;
00020 int sequence;
00021 short tree_depth;
00022 bool enabled;
00023 string cat_name;
00024 string menu_name;
00025 string uri;
00026 bool local_uri;
00027 bool secure;
00028 string xml_params;
00029
00030 services_Obj():read_write_base()
00031 ,id(0LL)
00032 ,sequence(0)
00033 ,tree_depth(0)
00034 ,enabled(false)
00035 ,cat_name("")
00036 ,menu_name("")
00037 ,uri("")
00038 ,local_uri(false)
00039 ,secure(false)
00040 ,xml_params("")
00041 {
00042
00043 data_name("services");
00044
00045 addDXMap( new llongXfer("id", &id ));
00046 addDXMap( new intXfer("sequence", &sequence ));
00047 addDXMap( new shortXfer("tree_depth", &tree_depth ));
00048 addDXMap( new boolXfer("enabled", &enabled ));
00049 addDXMap( new stringXfer("cat_name", &cat_name ));
00050 addDXMap( new stringXfer("menu_name", &menu_name ));
00051 addDXMap( new stringXfer("uri", &uri ));
00052 addDXMap( new boolXfer("local_uri", &local_uri ));
00053 addDXMap( new boolXfer("secure", &secure ));
00054 addDXMap( new stringXfer("xml_params", &xml_params ));
00055 }
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071 };
00072 #endif
00073