Commit Graph
78 Commits
Author SHA1 Message Date
Patrick Urbanke 91cba55edb Added reading and writing for anonymous fields 2023-11-06 21:10:03 +01:00
Patrick Urbanke 57dad0df3f Began implementing support for anonymous structs 2023-11-05 20:09:29 +01:00
Patrick Urbanke 08806d1ebf Added qualifications to the comments regading Box and Ref 2023-11-05 13:16:51 +01:00
Patrick Urbanke 0b94bf5aeb Added std::hash and std::swap for Box and Ref 2023-11-05 13:01:21 +01:00
Patrick Urbanke 6bf95a3c20 Minor code beautifications 2023-11-05 12:10:18 +01:00
Patrick Urbanke f9a16641c9 Added support for parsing results 2023-11-05 11:38:33 +01:00
Patrick Urbanke 720c15762b Use auto for the template parameters 2023-11-03 22:10:18 +01:00
Patrick Urbanke 2f76dc5b94 Minor changes to the Validator 2023-11-03 21:22:04 +01:00
Patrick Urbanke fcaf2e8e23 Added size validation 2023-11-02 22:53:58 +01:00
Patrick Urbanke a2a6609466 Fixed typos 2023-11-02 22:53:46 +01:00
Patrick Urbanke 197d5f2bf8 Added regex pattern validators 2023-11-02 22:26:44 +01:00
Patrick Urbanke ba997272c7 Added OneOf 2023-11-02 20:02:34 +01:00
Patrick Urbanke 70b11650f8 Renamed to Minimum, Maximum, etc 2023-11-02 20:02:22 +01:00
Patrick Urbanke 815b9fc45d Added AnyOf and more comparisons 2023-11-01 22:28:38 +01:00
liuzicheng1987 070169f4b2 Merge pull request #11 from jimixxperez/feature/validator
Feature/validator
2023-11-01 21:15:24 +01:00
Patrick Urbanke 7fdef62b86 Fixed typo 2023-10-31 20:12:03 +01:00
Patrick Urbanke 92d2d92c74 Added the basic functionality for constrained numeric values 2023-10-31 20:11:54 +01:00
Patrick Urbanke 463fa175fc Parse Literal in terms of the ReflectionType 2023-10-31 18:34:29 +01:00
Patrick Urbanke 03210cdc73 Added more functionality to rfl::Ref 2023-10-31 18:18:23 +01:00
Patrick Urbanke a0d6aa1b05 Fixed typo 2023-10-30 17:50:44 +01:00
Patrick Urbanke d0a66a673d Better error message for unsupported types 2023-10-30 17:50:35 +01:00
Jeremy Perez 8aa303285e Merge branch 'main' into feature/validator 2023-10-27 13:07:49 +02:00
Jeremy Perez b9a4542ea0 adapted test. 2023-10-27 13:07:03 +02:00
Jeremy Perez a41f35ce84 adapted test. 2023-10-27 12:46:17 +02:00
Patrick Urbanke 8f7c84954c Added more functionality to Box 2023-10-25 22:05:12 +02:00
Patrick Urbanke 4d967ccde2 Added support custom constructors with results 2023-10-25 20:23:16 +02:00
Patrick Urbanke f48e0ff425 Greatly simplified constructible_with_n_fields 2023-10-24 21:30:24 +02:00
Patrick Urbanke 32bc4fd075 Added default constructors for Ref and Box 2023-10-22 18:29:37 +02:00
Patrick Urbanke fe1b2d141e Removed unnecessary indirection 2023-10-21 22:41:36 +02:00
Patrick Urbanke 4fb6243d6f Refined the concepts and added comments 2023-10-21 21:58:45 +02:00
Patrick Urbanke fa5c8fd998 Added concepts and constraints for the Parser 2023-10-21 18:24:44 +02:00
Patrick Urbanke ea3ce3632c Added support for better error messages 2023-10-21 14:19:32 +02:00
Jeremy Perez 15b12a34b3 redesign of validation via Annotation. 2023-10-20 15:07:43 +02:00
Patrick Urbanke 2d3d6340eb Use move semantics for std::shared_ptr and rfl::Box 2023-10-19 22:35:18 +02:00
Patrick Urbanke d6c4622b55 Move keys 2023-10-17 00:30:26 +02:00
Patrick Urbanke 278071f2c0 Replaced map with vector of key-value-pairs 2023-10-16 22:22:54 +02:00
Patrick Urbanke 013708b77c Removed unnecessary boilerplate code 2023-10-15 17:58:37 +02:00
Patrick Urbanke 4c020e7e82 Using std::array instead of std::vector for retrieving the fields 2023-10-15 14:29:41 +02:00
Patrick Urbanke 383dde14f5 Use string_view to compare the fields 2023-10-15 13:45:07 +02:00
Patrick Urbanke f34bdd76b9 Optimized the reading of the named tuples using field indices 2023-10-14 20:35:59 +02:00
Patrick Urbanke a0d17bd3c5 load_string and save_string in separate files 2023-10-14 18:59:54 +02:00
Patrick Urbanke f267bfa154 Added load and save 2023-10-14 00:04:17 +02:00
Patrick Urbanke 7129e5a2ce Revert "Build NamedTuple non-recursively"
This reverts commit 3db0bbb065.
2023-10-11 21:54:05 +02:00
Patrick Urbanke 3db0bbb065 Build NamedTuple non-recursively 2023-10-11 21:50:05 +02:00
Patrick Urbanke 823f796519 Added move constructor for different type to result 2023-10-11 21:49:50 +02:00
Patrick Urbanke 94b8ab368b Added tests for string map and string unordered map 2023-10-10 23:14:25 +02:00
Patrick Urbanke 5198a446aa Added support for various containers 2023-10-10 21:37:02 +02:00
Patrick Urbanke 23922db9c5 Added tests for various containers 2023-10-09 22:32:37 +02:00
Patrick Urbanke 745c7ead2c Added support for clang 2023-10-09 21:08:05 +02:00
Jeremy Perez 58085f9120 Merge branch 'uuid_ft' 2023-10-09 13:57:10 +02:00