00001 /* 00002 Deletion.hpp 00003 00004 Object Definition and Implementation 00005 for Deletion. 00006 00007 Copyright (C) 2006 by D.K. McCombs. 00008 W3 Systems Design 00009 00010 */ 00011 #ifndef Deletion_HPP 00012 #define Deletion_HPP 00013 00014 #include "read_write_base.hpp" 00015 00016 class Deletion_Obj: public read_write_base 00017 { 00018 public: 00019 identifier Id; 00020 llong auditTable; 00021 string Name; 00022 string Value; 00023 00024 Deletion_Obj():read_write_base() 00025 ,Id(0LL) 00026 ,auditTable(0LL) 00027 ,Name("") 00028 ,Value("") 00029 { 00030 // set name 00031 data_name("w3audit.Deletion"); 00032 // add fields 00033 addDXMap( new llongXfer("Id", &Id )); 00034 addDXMap( new llongXfer("auditTable", &auditTable )); 00035 addDXMap( new stringXfer("Name", &Name )); 00036 addDXMap( new stringXfer("Value", &Value )); 00037 } 00038 bool uvalidate( changeMap & changes ) { return false; } 00039 bool dvalidate( void ) { return false; } 00040 00041 }; 00042 #endif 00043 00044 00045
1.5.5