Commit Graph
100 Commits
Author SHA1 Message Date
Heiko Lewin e825b236ee Parser_default: Move temporary variable instead of copying (#362) 2025-02-25 21:01:39 +01:00
Dr. Patrick Urbanke (劉自成) c6d0626267 Make sure rfl::Generic is NOT optional; fixes #352 (#358) 2025-02-20 21:17:27 +01:00
Jowillianto 6d51c12db5 Feat/286/std expected (#340) 2025-02-03 19:27:10 +01:00
Dr. Patrick Urbanke (劉自成) 23ce24f001 Make sure you can insert unsupported types into rfl::Skip<...>; #299 (#304) 2024-12-22 15:43:17 +01:00
Dr. Patrick Urbanke (劉自成) e46835287f Added support for Apache Avro, and thus for schemaful formats (#303) 2024-12-22 14:53:25 +01:00
Matthieu DubugetandMatthieu Dubuget 99f3f50fd3 Add operator== to TaggedUnion.hpp (#280)
Co-authored-by: Matthieu Dubuget <matthieu.dubuget@tpac-ndt.com>
2024-12-06 23:45:12 +01:00
Manuel Bellersen 1f39b4f1e7 Use perfect forwarding on rfl::visit for rfl::TaggedUnion (#252) 2024-11-12 19:35:54 +01:00
Manuel Bellersen 716de7b6fd Emplace into optional to be able to visit variant containers containi… (#234) 2024-11-08 13:39:08 +01:00
Dr. Patrick Urbanke (劉自成) 9fe3758063 Automatically add tags to variants; fixes #230 (#246) 2024-11-05 21:11:28 +01:00
Dr. Patrick Urbanke (劉自成) 2ef144c041 Added support for raw pointers; #218 (#244) 2024-11-05 00:14:56 +01:00
Dr. Patrick Urbanke (劉自成) 458ca09198 Remove warnings generated by GCC and Clang (#243) 2024-11-01 00:01:52 +01:00
Dr. Patrick Urbanke (劉自成) 230ba48bff Fix memory safety issues (#241); should resolve #240 2024-10-31 17:48:15 +01:00
Shengqi Chen 7bf71c6d7b Enhance tests (#226) 2024-10-30 21:39:11 +01:00
Dr. Patrick Urbanke (劉自成) b3b0370ce2 Added a test for string views (#223) 2024-10-20 12:51:05 +02:00
Dr. Patrick Urbanke (劉自成) df56b2e31f Added the ability to transform structs from and to generic elements; resolves #201 (#210) 2024-10-13 20:30:56 +02:00
Dr. Patrick Urbanke (劉自成) 0ebaeeff0d Bugfix: Memory leak under some circumstances; resolves #212 (#215) 2024-10-13 20:00:34 +02:00
George Evmenov 3c6be6a136 add simple precompiled headers (#211) 2024-10-09 09:32:40 +02:00
Dr. Patrick Urbanke (劉自成) 099211943d Bugfixes for inheritance C arrays and inheritance, fixes #205 (#206) 2024-10-05 23:15:11 +02:00
Dr. Patrick Urbanke (劉自成) ef39b21935 Support for lvalues in rfl::visit; fixes #184 and #187 (#203) 2024-09-30 23:54:01 +02:00
Dr. Patrick Urbanke (劉自成) 75c7859ab1 Use size_t instead of iterators inside Object; addresses #194 (#198) 2024-09-21 00:25:18 +02:00
Dr. Patrick Urbanke (劉自成) 63f4078c5c Added the rfl::NoExtraFields processor; resolves #190 (#195) 2024-09-18 23:07:05 +02:00
Dr. Patrick Urbanke (劉自成) 54c2a84650 Add rfl::DefaultIfMissing; fixes #163, #167, #185 (#189) 2024-09-15 19:38:33 +02:00
AnsiV01 dfc24ad932 rfl::UnderlyingEnums (#186)
* First part

* Plural

* Update rfl.hpp

* Documentation

* Update rfl.hpp

* Update processors.md

* underlying_enums test

* Update Parser_default.hpp

* Fix typo in test
2024-09-12 09:37:31 +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 (劉自成) 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 (劉自成) 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
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