Commit Graph
144 Commits
Author SHA1 Message Date
Dr. Patrick Urbanke (劉自成) e47dfbeb1f Speed up the reflection process (#537) 2025-11-02 22:01:15 +01:00
Dr. Patrick Urbanke (劉自成) d0f60b214f Make sure that the headers are self-contained; fixes #528 (#531) 2025-10-25 13:03:12 +02:00
Philemon Benner 83951fd90b Feature/shared exports msvc (#525) 2025-10-19 16:32:15 +02:00
KostinPavel 732e9fe85f Cleanup includes (#519) 2025-10-13 18:16:14 +02:00
Bryce Schober d33a4f50d4 Add rfl::AddNamespacedTagsToVariants for rfl::Generic and same-name-different-namespace structs (#494) 2025-09-11 08:10:51 +02:00
Dr. Patrick Urbanke (劉自成) 611712f5eb Add support for parquet (#488) 2025-09-02 21:47:50 +02:00
Dr. Patrick Urbanke (劉自成) 9e57aee378 Added a test for UUIDv4; upgraded CTRE to 3.10; fixed issue #486 (#487) 2025-08-31 21:40:43 +02:00
ZXShadyandDr. Patrick Urbanke 750e67d630 Add enchantum as an enum reflection backend (#441)
---------

Co-authored-by: Dr. Patrick Urbanke <patrick@getml.com>
2025-05-29 23:16:59 +02:00
Dr. Patrick Urbanke (劉自成) 778cd54173 Use fold expressions inside the literals (#434) 2025-05-11 17:55:02 +08:00
Dr. Patrick Urbanke (劉自成) 41194ad33c Fixed the range calculation; fixes #424 (#428)
Thanks to @bryceschober for pointing this out and drafting a fix.
2025-05-05 11:52:45 +08:00
George Evmenov 15742a8739 Fix bytestring being serialized as vector of flag enums (#403) 2025-04-10 22:57:03 +08:00
Giovanni Claudio 74738ed131 Add enum range support with customizable min and max values (#392) 2025-03-28 15:58:36 +08:00
Dr. Patrick Urbanke (劉自成) e6299dc4e0 Use fold expressions to handle enums; #389 (#395) 2025-03-26 10:41:27 +08:00
FeO3 2eccddf082 Fix make_tag to correctly handle reflection types (#391) 2025-03-24 00:23:05 +08:00
George Evmenov ec8c19fa3e fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> (#369) 2025-03-02 07:23:40 +08:00
Dr. Patrick Urbanke (劉自成) c3764e83ce Added remove_rename (#360); fixes #359 2025-02-20 22:14:32 +01:00
Dr. Patrick Urbanke (劉自成) 53f7a3b786 Adapted the C arrays flag; fixes #353 (#355) 2025-02-19 00:46:01 +01:00
Jowillianto 6d51c12db5 Feat/286/std expected (#340) 2025-02-03 19:27:10 +01:00
Dr. Patrick Urbanke (劉自成) 1d58526869 Added support for Cap'n Proto (#323) 2025-01-06 15:12:40 +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
Dr. Patrick Urbanke (劉自成) 95f97b4872 Use static_cast for the pointer transformations (#298) 2024-12-18 21:17:05 +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
Dr. Patrick Urbanke (劉自成) 29c42010a3 Fix a subtle bug in rfl::to_view (#237) 2024-10-29 20:24:36 +01:00
Daniel SahuandDaniel M. Sahu 9755dda7c6 Increased maximum number of fields from 100 to 256. (#232)
Signed-off-by: Daniel M. Sahu <dan@overland.ai>
Co-authored-by: Daniel M. Sahu <dan@overland.ai>
2024-10-27 15:08:29 +01: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 (劉自成) 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 (劉自成) 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 (劉自成) 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
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 (劉自成)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 (劉自成) 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
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