00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef Designer_HPP
00012 #define Designer_HPP
00013
00014 #include "read_write_base.hpp"
00015
00016 class Designer_Obj: public read_write_base
00017 {
00018 public:
00019 identifier Id;
00020 llong Product_Id;
00021
00022 int Real_Height;
00023 int Real_Width;
00024
00025
00026 llong Size;
00027 llong Style;
00028 string Orientation;
00029
00030 int Pixel_Height;
00031 int Pixel_Width;
00032
00033 int Text_Top_Left_X;
00034 int Text_Top_Left_Y;
00035 int Text_Bot_Right_X;
00036 int Text_Bot_Right_Y;
00037 string Pattern_Image;
00038 string Design_No;
00039
00040 Designer_Obj():read_write_base()
00041 ,Id(0LL)
00042 ,Product_Id(0LL)
00043 ,Real_Height(0)
00044 ,Real_Width(0)
00045 ,Pixel_Height(0)
00046 ,Size(0LL)
00047 ,Style(0LL)
00048 ,Orientation("")
00049 ,Pixel_Width(0)
00050 ,Text_Top_Left_X(0)
00051 ,Text_Top_Left_Y(0)
00052 ,Text_Bot_Right_X(0)
00053 ,Text_Bot_Right_Y(0)
00054 ,Pattern_Image("")
00055 ,Design_No("")
00056 {
00057
00058 data_name("Designer");
00059
00060 addDXMap( new llongXfer("Id", &Id ));
00061 addDXMap( new llongXfer("Product_Id", &Product_Id ));
00062 addDXMap( new intXfer("Real_Height", &Real_Height ));
00063 addDXMap( new intXfer("Real_Width", &Real_Width ));
00064 addDXMap( new llongXfer("Size", &Size ));
00065 addDXMap( new llongXfer("Style", &Style ));
00066 addDXMap( new stringXfer("Orientation", &Orientation ));
00067 addDXMap( new intXfer("Pixel_Height", &Pixel_Height ));
00068 addDXMap( new intXfer("Pixel_Width", &Pixel_Width ));
00069 addDXMap( new intXfer("Text_Top_Left_X", &Text_Top_Left_X ));
00070 addDXMap( new intXfer("Text_Top_Left_Y", &Text_Top_Left_Y ));
00071 addDXMap( new intXfer("Text_Bot_Right_X", &Text_Bot_Right_X ));
00072 addDXMap( new intXfer("Text_Bot_Right_Y", &Text_Bot_Right_Y ));
00073 addDXMap( new stringXfer("Pattern_Image", &Pattern_Image ));
00074 addDXMap( new stringXfer("Design_No", &Design_No ));
00075 }
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091 };
00092 #endif
00093