Commit Graph
235 Commits
Author SHA1 Message Date
Patrick Urbanke 470fa31142 Added tests for custom classes 2023-11-12 14:33:26 +01:00
Patrick Urbanke d19a14e926 Added more tests for containers 2023-11-12 14:13:50 +01:00
Patrick Urbanke 629dd0c036 Added more tests 2023-11-12 00:08:56 +01:00
Patrick Urbanke 2a948e809a Using std::optional in the fields array; fixes the test and increases safety 2023-11-11 23:33:15 +01:00
Patrick Urbanke 5efa9df16e Added flexbuffers reader and writer as well as first test (but does not pass) 2023-11-11 23:16:49 +01:00
Patrick Urbanke c206699f64 Removed type names with leading underscore followed by capital letter; #9 2023-11-11 14:11:29 +01:00
liuzicheng1987 9aeca3b141 Fixed typo 2023-11-08 22:43:35 +01:00
liuzicheng1987 ef74f61e29 Fixed typo 2023-11-08 22:40:41 +01:00
liuzicheng1987 e298aacf37 Fixed typo 2023-11-08 22:40:13 +01:00
liuzicheng1987 26d2ae2a28 Update README.md 2023-11-08 22:39:53 +01:00
liuzicheng1987 d87e1a4a28 Create backwards_compatability.md 2023-11-08 22:37:35 +01:00
Patrick Urbanke 5694c24727 Allow for additional optional fields in std::tuple 2023-11-08 21:59:18 +01:00
Patrick Urbanke 540af2d0cb Merge branch 'main' of github.com:getml/reflect-cpp 2023-11-08 21:32:44 +01:00
Patrick Urbanke 63a9de90b3 Added thread-safe memoization 2023-11-08 21:32:31 +01:00
liuzicheng1987 885b214b91 Added algebraic data types 2023-11-07 19:29:03 +01:00
liuzicheng1987 d61544d5f6 Merge pull request #12 from getml/f/anonymous_structs
Anonymous fields
2023-11-07 19:21:23 +01:00
liuzicheng1987 191dbe5d3a Update README.md 2023-11-07 19:20:09 +01:00
liuzicheng1987 25c58c44ff Added documentation for anonymous fields 2023-11-07 19:17:49 +01:00
liuzicheng1987 7df42fd05c Included anonymous fields in README 2023-11-07 19:00:51 +01:00
Patrick Urbanke 6d098ae36c Fixed the validator so it can be supported as an anonymous field 2023-11-07 18:21:59 +01:00
Patrick Urbanke 1e11d26c8c Added tests for the anonymous fields 2023-11-06 23:44:51 +01:00
Patrick Urbanke d75fc3d5b6 Added some standard methods to the validator 2023-11-06 23:44:30 +01:00
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
liuzicheng1987 b85f1bba4f Minor changes to the README 2023-11-05 13:21:43 +01:00
liuzicheng1987 d4c414a187 Update README.md 2023-11-05 13:19:21 +01:00
Patrick Urbanke 08806d1ebf Added qualifications to the comments regading Box and Ref 2023-11-05 13:16:51 +01:00
liuzicheng1987 31bf994669 Added a qualification about std::move and rfl::Box 2023-11-05 13:13:42 +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
liuzicheng1987 3ada70cd22 Fixed typo 2023-11-05 12:03:09 +01:00
liuzicheng1987 3e8bb0664b Added Result to the basics 2023-11-05 11:58:02 +01:00
liuzicheng1987 e3f561c89e Added documentation on how to use rfl::Result for parsing 2023-11-05 11:51:16 +01:00
Patrick Urbanke a5b99f48be Merge branch 'main' of github.com:getml/reflect-cpp 2023-11-05 11:38:45 +01:00
Patrick Urbanke f9a16641c9 Added support for parsing results 2023-11-05 11:38:33 +01:00
liuzicheng1987 0429f0642f Update README.md 2023-11-04 13:29:09 +01:00
liuzicheng1987 c5a1b5402c Create size_validation.md 2023-11-04 13:24:18 +01:00
liuzicheng1987 29564f4238 Create composing_validators.md 2023-11-04 13:11:36 +01:00
liuzicheng1987 1e196d83fd Update patterns.md 2023-11-04 12:53:01 +01:00
liuzicheng1987 0cc18b1d39 Update validating_numbers.md 2023-11-04 12:51:24 +01:00
liuzicheng1987 1a8ecb8599 Create patterns.md 2023-11-04 12:43:53 +01:00
liuzicheng1987 282e509d1e Documented rfl::Pattern 2023-11-04 12:41:27 +01:00
liuzicheng1987 a759c25485 Fixed another typo 2023-11-03 22:45:30 +01:00
liuzicheng1987 020444e8ca Fixed typo in the JSON 2023-11-03 22:44:17 +01:00
liuzicheng1987 47d17bc0d6 Update comment for Maggie 2023-11-03 22:43:24 +01:00
liuzicheng1987 6e77be2992 Update README.md 2023-11-03 22:41:27 +01:00
liuzicheng1987 eeb328a198 Update README.md 2023-11-03 22:40:56 +01:00
Patrick Urbanke fd5ab423af Updated test_readme_example 2023-11-03 22:30:02 +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