00001 // -*- c++ -*- 00002 // **************************************************************************** 00003 // Name: dc_filterlayout.h 00004 // Athr: Michael D. Beynon (mdb) 00005 // Date: 08/10/2000 : mdb - Created. 00006 // Desc: DataCutter Filter Service user library. 00007 // **************************************************************************** 00010 #if !defined(H_DC_FILTERLAYOUT) 00011 #define H_DC_FILTERLAYOUT 00012 00013 #include "lib/dc_standard.h" 00014 #include "lib/dc_configinfo.h" 00015 00016 00021 class DC_FilterLayout_t : public ConfigInfo { 00022 protected: 00023 char *sbName; 00024 public: 00025 DC_FilterLayout_t(void); 00026 ~DC_FilterLayout_t(void); 00027 00029 char *getName(void); // may be NULL if no name given 00031 void setName(char *sbName_in); 00032 00033 // BUGBUG: this will be a problem when we start annotating the 00034 // layout with cost model info. Maybe better would be to store the 00035 // annotations somewhere else, and load them into the dird as 00036 // [costmodel."appname"."filtername"] foo=bar 00037 int Add(char *sbFilterName, char *sbInsList, char *sbOutsList, 00038 bool fAllowCopies=true); 00039 }; 00040 00041 00042 #endif /* H_DC_FILTERLAYOUT */ 00043 // ****************************************************************************