00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef Document_HPP
00012 #define Document_HPP
00013
00014 #include "read_write_base.hpp"
00015
00016 class Document_Obj: public read_write_base
00017 {
00018 public:
00019 identifier Id;
00020 string Category;
00021 string Name;
00022 string Description;
00023 string Filename;
00024 bool Visible;
00025 int Sequence;
00026 Document_Obj():read_write_base()
00027 ,Id(0LL)
00028 ,Category("")
00029 ,Name("")
00030 ,Description("")
00031 ,Filename("")
00032 ,Visible(false)
00033 ,Sequence(0)
00034 {
00035
00036 data_name("Document");
00037
00038 addDXMap( new llongXfer("Id", &Id ));
00039 addDXMap( new stringXfer("Category", &Category ));
00040 addDXMap( new stringXfer("Name", &Name ));
00041 addDXMap( new stringXfer("Description", &Description ));
00042 addDXMap( new stringXfer("Filename", &Filename ));
00043 addDXMap( new boolXfer("Visible", &Visible ));
00044 addDXMap( new intXfer("Sequence", &Sequence ));
00045 }
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061 };
00062 #endif
00063
00064
00065