Commit Graph
150 Commits
Author SHA1 Message Date
Dr. Patrick Urbanke (劉自成) d796c8cf0c Optimizations for classes with many fields; #168 (#171) 2024-08-03 13:48:09 +02:00
Dr. Patrick Urbanke (劉自成) c36f8c6af6 Added support for rfl::Binary, rfl::Hex and rfl::Oct; #164 (#170) 2024-08-02 21:44:50 +02:00
Dr. Patrick Urbanke (劉自成) b6651a4062 Added support for std::system::filepath; #166 (#169) 2024-08-01 23:16:05 +02:00
Dr. Patrick Urbanke (劉自成) 9c9eceab92 Added rfl::Tuple (#160) 2024-07-28 15:35:38 +02:00
Dr. Patrick Urbanke (劉自成) a562a6fb88 Added a custom implementation of a variant (rfl::Variant) (#151) 2024-07-17 22:10:28 +02:00
Matthew 0045030512 feat: optional to/from methods on Reflector. (#150) (#152) 2024-07-17 21:40:18 +02:00
Knyukuaandtoropov d697a531b3 fix: incorrect json schema for size validated fields (#146)
Co-authored-by: toropov <toropov@protei.ru>
2024-07-10 21:11:40 +02:00
BjornSAIMandDaedie 9b1f70ea78 Fix several warnings (#143)
Co-authored-by: Daedie <daedie@gmail.com>
2024-07-07 23:36:03 +02:00
BjornSAIMandDaedie 6dadbc2506 added a new method of implementing a custom parser using a Reflector … (#142)
Co-authored-by: Daedie <daedie@gmail.com>
2024-07-07 22:41:31 +02:00
Dr. Patrick Urbanke (劉自成) 1ff7f762f1 Added a size check in the arrow reader (#140) 2024-07-05 22:58:18 +02:00
Dr. Patrick Urbanke (劉自成) fae5e5ff58 Added support for bytestrings; #69 (#132) 2024-06-30 20:41:53 +02:00
Dr. Patrick Urbanke (劉自成) 28b89ae0df Added generic elements; resolves #96 (#125) 2024-06-27 23:05:48 +02:00
Manuel Bellersen c3db8321b3 Feature/compatibilities gcc14 clang14 vcpkg (#124) 2024-06-27 11:20:51 +02:00
Dr. Patrick Urbanke (劉自成) 0247c57d5b Added the rfl::NoFieldNames processor (#121) 2024-06-18 19:23:43 +02:00
Dr. Patrick Urbanke (劉自成) e36994084d Implemented some measures to reduce the compile time; #86 (#120) 2024-06-15 00:26:05 +02:00
liuzicheng1987 108efb93cb Made sure that rfl::Rename overrides the processors; resolves #115 (#116) 2024-06-07 23:40:19 +02:00
liuzicheng1987 8086e14038 Added a test for templated structs (#111) 2024-06-02 23:16:56 +02:00
liuzicheng1987 89a939705e Added simple benchmarks for JSON; #70 (#109) 2024-06-01 17:35:27 +02:00
liuzicheng1987 1eed713fff Added rfl::NoOptionals; resolved #100 (#105) 2024-05-26 21:32:00 +02:00
liuzicheng1987 adf8463527 Added rfl::Skip; resolves #99 (#103) 2024-05-21 18:13:42 +02:00
Joshua Burrell cca24a99ea [fix] 64bit int support for json (#92) 2024-05-06 21:40:29 +02:00
liuzicheng1987andPatrick Urbanke 15f2c632dd Added support for processors; resolves #67 (#94)
Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-05-01 20:08:06 +02:00
liuzicheng1987 325d163196 Use GTest; resolves #34 (#90) 2024-04-22 23:12:35 +02:00
liuzicheng1987 bf1c9bea36 Made sure that Github Actions also work for MSVC (#88) 2024-04-21 14:47:12 +02:00
liuzicheng1987 8a858d2cca Add support for msgpack; resolves #26 (#87) 2024-04-21 12:03:36 +02:00
Patrick Urbanke 4d2116ad4c Beautified the inheritance tests 2024-04-18 20:12:32 +02:00
Patrick Urbanke 3f4def672e Made sure we can read larger integers, fixes #85 2024-04-18 20:12:16 +02:00
Lixin Wei fbeca9b095 Support one-level inheritance cases (#83)
* Substract base class param from num of fields

* Fix comments from @schaumb

* Fix CI

* fix comments from @liuzicheng1987

* fix some comments form @schaumb

* rename some funcs

* one-level inheritance fixed

* fix CI
2024-04-11 16:54:17 +02:00
Heiko Lewin 0b33c92c9b Fix names of inherited members being prefixed with the base-class's name when using clang 2024-04-08 10:42:42 +02:00
Patrick Urbanke 63e7bf3d81 Allow tagged unions with explicit tags 2024-03-31 14:37:34 +02:00
Patrick Urbanke 32ac265293 Made sure we can serialize and deserialize empty structs 2024-03-31 12:33:54 +02:00
Patrick Urbanke 86f73123d2 Allow creation of box and ref through std::unique_ptr and std::shared_ptr respectively 2024-03-31 11:40:22 +02:00
Patrick Urbanke 4fa84ffd30 Bugfix and added test for shared_ptr 2024-03-31 11:14:58 +02:00
Patrick Urbanke 1f0dcf591e Added TOML support 2024-03-29 12:24:43 +01:00
stu 3cfee3f62d revert change of F&& to const F& 2024-03-21 12:11:06 +00:00
Patrick Urbanke 58d89e717c Optimizationg for the reader and writer; #68 2024-03-16 09:58:26 +01:00
Patrick Urbanke 58f1e41c83 Added support for monadic operations on the named tuples 2024-03-06 14:21:33 +01:00
Patrick Urbanke 54ffdbc9e9 Split up the enum tests 2024-03-03 10:33:22 +01:00
Patrick Urbanke 091ce65693 Split up test_view 2024-03-03 09:35:52 +01:00
Patrick Urbanke d1a9bc6b61 Added the JSON schema; #25 2024-03-03 07:09:28 +01:00
stu 0b2f5d2a13 clang-format 2024-03-01 19:25:46 +00:00
stu ec437c51f2 add documentation for new enumerator functionality 2024-03-01 19:19:48 +00:00
stu 617226cd1d rename to get_underlying_enumerators 2024-03-01 19:02:51 +00:00
stu cdca9ac73a add get_enumerators_underlying and get_enumerator_array_underlying 2024-03-01 18:59:47 +00:00
stu c76e7a6471 add rfl::get_enumerators() and rfl::get_enumerator_array() 2024-02-22 15:24:20 +00:00
stu a1fb54f4ac add rfl::enum_to_string and rfl::string_to_enum 2024-02-22 13:57:09 +00:00
Laz 68cdfa8dd4 feat: add support for parsing std::wstrings 2024-02-11 13:04:36 +00:00
stu 34c36d9b97 slight rework
clang on linux doesn't believe field.name() can be constexpr, so
fall back to Field::name() when constexpr is required.
2024-02-07 13:08:17 +00:00
stu fb0dd371b3 add rfl::NamedTuple::apply() for convenient compile-time iteration 2024-02-07 12:31:45 +00:00
Patrick Urbanke f2d977909c Added CBOR support; #53 2024-01-26 06:48:39 +01:00