1
0

Int64Field.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* ---------------------------------------------------------------------------
  2. Nullsoft Database Engine
  3. --------------------
  4. codename: Near Death Experience
  5. --------------------------------------------------------------------------- */
  6. /* ---------------------------------------------------------------------------
  7. Int64Field Class Prototypes
  8. --------------------------------------------------------------------------- */
  9. #ifndef NULLSOFT_NDE_INT64FIELD_H
  10. #define NULLSOFT_NDE_INT64FIELD_H
  11. #include "Field.h"
  12. class Int64Field : 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. int64_t Value;
  22. public:
  23. ~Int64Field();
  24. Int64Field(int64_t);
  25. Int64Field();
  26. int64_t GetValue(void);
  27. void SetValue(int64_t);
  28. };
  29. #endif