Commit Graph
258 Commits
Author SHA1 Message Date
Dr. Patrick Urbanke (劉自成) 7274a2eb47 Use std::launder where appropriate (#181) 2024-09-05 20:18:46 +02:00
Dr. Patrick Urbanke (劉自成) b661b6147a Include vector in Literal.hpp (#175) 2024-08-15 12:12:49 +02:00
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 (劉自成) d9387e29ef Improved the documentation for the reflector to account for #156 and #157 (#158) 2024-07-22 22:40:06 +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 (劉自成)andPatrick Urbanke 7f0350f576 Move some code into source files to reduce compile time; #86 (#136)
---------

Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-07-03 23:14:10 +02:00
Dr. Patrick Urbanke (劉自成) fae5e5ff58 Added support for bytestrings; #69 (#132) 2024-06-30 20:41:53 +02:00
Dr. Patrick Urbanke (劉自成) 641afd6f53 Handle bundled dependencies using __has_include (#128) 2024-06-28 22:40:07 +02:00
Dr. Patrick Urbanke (劉自成) 80aea11e0c Added official support for Clang 14.0 (#126) 2024-06-28 21:24:20 +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 (劉自成) 1ce78479ac Removed recursion in the no_duplicate_field_names function and rfl::Literal (#123) 2024-06-19 19:28:18 +02:00
Dr. Patrick Urbanke (劉自成) 0247c57d5b Added the rfl::NoFieldNames processor (#121) 2024-06-18 19:23:43 +02:00
Patrick Urbanke 641ae00b9f Renamed flag for consistency 2024-06-15 00:30:28 +02:00
Dr. Patrick Urbanke (劉自成) e36994084d Implemented some measures to reduce the compile time; #86 (#120) 2024-06-15 00:26:05 +02:00
Dr. Patrick Urbanke (劉自成) 0342e5c9a2 Separate third party libraries; resolves #79 (#119) 2024-06-13 00:37:35 +02:00
liuzicheng1987 108efb93cb Made sure that rfl::Rename overrides the processors; resolves #115 (#116) 2024-06-07 23:40:19 +02:00
liuzicheng1987 b757013638 Added the licenses dataset as a benchmark (#113) 2024-06-05 22:24:36 +02:00
liuzicheng1987 ab14d14af2 Sped up BSON and CBOR read (#112) 2024-06-04 20:43:52 +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
Laz 43ebb0bb24 Update wstring parser to remove needless null terminators (#104) 2024-05-24 21:58:22 +02:00
liuzicheng1987 adf8463527 Added rfl::Skip; resolves #99 (#103) 2024-05-21 18:13:42 +02:00
liuzicheng1987 579ec6e919 More efficient implementation of rfl::Result (#102) 2024-05-19 20:55:13 +02:00
liuzicheng1987 6bb95ff09b More efficient way of parsing array-like data structures. (#98) 2024-05-07 20:43:04 +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
toge bb3dc34eae fix older msvc(19.36) compilation error (#91) 2024-04-23 18:25:23 +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 3f4def672e Made sure we can read larger integers, fixes #85 2024-04-18 20:12:16 +02:00
Patrick Urbanke bcf34831f1 Merge branch 'main' of github.com:getml/reflect-cpp 2024-04-16 22:59:44 +02:00
Patrick Urbanke 62619d4a19 Better error messages for tagged unions 2024-04-16 00:48:43 +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
Patrick Urbanke b38f12ecdf More efficient way of parsing variants 2024-04-10 22:55:06 +02:00
Heiko Lewin 1146f76bde More elegant formulation 2024-04-08 16:02:16 +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 648d628de5 Explicit equality operator in Literal 2024-04-01 13:31:45 +02:00
Patrick Urbanke df488ec79e Changed the semantics of .add and .replace in NamedTuple 2024-04-01 13:31:31 +02:00
Patrick Urbanke 23c5a603ae Added more reliable checks in Parser_tagged_union 2024-04-01 13:31:14 +02:00
Patrick Urbanke 1dcd6af373 Added Names to NamedTuple 2024-03-31 17:45:09 +02:00
Patrick Urbanke 916323495c Added const std::shared_ptr 2024-03-31 16:57:54 +02:00