diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/nde/Int64Field.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/nde/Int64Field.h')
-rw-r--r-- | Src/nde/Int64Field.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Src/nde/Int64Field.h b/Src/nde/Int64Field.h new file mode 100644 index 00000000..11f88eb7 --- /dev/null +++ b/Src/nde/Int64Field.h @@ -0,0 +1,39 @@ +/* --------------------------------------------------------------------------- + Nullsoft Database Engine + -------------------- + codename: Near Death Experience +--------------------------------------------------------------------------- */ + +/* --------------------------------------------------------------------------- + + Int64Field Class Prototypes + +--------------------------------------------------------------------------- */ + +#ifndef NULLSOFT_NDE_INT64FIELD_H +#define NULLSOFT_NDE_INT64FIELD_H + +#include "Field.h" + +class Int64Field : public Field +{ +protected: + virtual void ReadTypedData(const uint8_t *, size_t len); + virtual void WriteTypedData(uint8_t *, size_t len); + virtual size_t GetDataSize(void); + virtual int Compare(Field *Entry); + virtual bool ApplyFilter(Field *Data, int op); + void InitField(void); + int64_t Value; + +public: + ~Int64Field(); + Int64Field(int64_t); + Int64Field(); + int64_t GetValue(void); + void SetValue(int64_t); +}; + + + +#endif
\ No newline at end of file |