Filter.h 877 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* ---------------------------------------------------------------------------
  2. Nullsoft Database Engine
  3. --------------------
  4. codename: Near Death Experience
  5. --------------------------------------------------------------------------- */
  6. /* ---------------------------------------------------------------------------
  7. Filter Class Prototypes
  8. --------------------------------------------------------------------------- */
  9. #ifndef __FILTER_H
  10. #define __FILTER_H
  11. #include "LinkedList.h"
  12. class Field;
  13. class Filter : public LinkedListEntry
  14. {
  15. private:
  16. Field* DataField;
  17. unsigned char Op;
  18. unsigned char Id;
  19. public:
  20. unsigned char GetOp(void) const;
  21. void SetOp(unsigned char Op);
  22. Field *Data(void) const;
  23. int GetId(void) const;
  24. Filter(unsigned char _Op);
  25. Filter(Field *Data, unsigned char Id, unsigned char Op);
  26. void SetData(Field *data);
  27. ~Filter() ;
  28. };
  29. #endif