1
0

Int128Field.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* ---------------------------------------------------------------------------
  2. Nullsoft Database Engine
  3. --------------------
  4. codename: Near Death Experience
  5. --------------------------------------------------------------------------- */
  6. /* ---------------------------------------------------------------------------
  7. Int128Field Class Prototypes
  8. --------------------------------------------------------------------------- */
  9. #ifndef NULLSOFT_NDE_INT128FIELD_H
  10. #define NULLSOFT_NDE_INT128FIELD_H
  11. #include "Field.h"
  12. class Int128Field : public Field
  13. {
  14. protected:
  15. virtual void ReadTypedData(const uint8_t *, size_t len);
  16. virtual void WriteTypedData(uint8_t *, size_t len);
  17. virtual size_t GetDataSize(void);
  18. virtual int Compare(Field *Entry);
  19. virtual bool ApplyFilter(Field *Data, int op);
  20. void InitField(void);
  21. char Value[16];
  22. public:
  23. ~Int128Field();
  24. Int128Field(void *value);
  25. Int128Field();
  26. void *GetValue(void);
  27. void SetValue(const void *value);
  28. };
  29. #endif