Commit Graph
290 Commits
Author SHA1 Message Date
Patrick Urbanke 8ff4d105c6 Adapted the documentation to the possibility of leaving out rfl::Field 2023-11-28 19:09:41 +01:00
Patrick Urbanke 456fc33613 Added support for tagged unions without explicitly tagging the structs 2023-11-28 19:09:14 +01:00
Patrick Urbanke abe7bd3546 Made sure that automatic field retrieval works in the context of tagged unions 2023-11-27 20:04:30 +01:00
Patrick Urbanke ac244c082d Added more features to the automated field name retrieval 2023-11-27 19:51:30 +01:00
Patrick Urbanke 5e6682df5d Began developing the StructParser 2023-11-23 19:45:18 +01:00
Patrick Urbanke 6326abf7a4 Updated the version requirement for clang 2023-11-22 00:23:01 +01:00
Patrick Urbanke b527faeebb Added clang support for automatic field retrieval 2023-11-22 00:22:39 +01:00
Patrick Urbanke f55f8e3b24 Retrieve field names for struct with arbitrary amount of fields 2023-11-21 21:49:03 +01:00
Patrick Urbanke 81c14ec63d Added basic support for automated field name retrieval 2023-11-21 21:07:35 +01:00
Patrick Urbanke 44be84e08a Fixed typo 2023-11-20 22:10:31 +01:00
Patrick Urbanke 7cdd1acc32 Treat numeric map types as keys; #14 2023-11-20 22:10:02 +01:00
Patrick Urbanke 958a124e75 Clarified a comment on std::cout 2023-11-19 12:35:51 +01:00
Patrick Urbanke f994061ade Merge branch 'main' of github.com:getml/reflect-cpp 2023-11-19 12:34:29 +01:00
Patrick Urbanke 6b857e1104 Added support for reading and writing into streams 2023-11-19 12:34:06 +01:00
liuzicheng1987 40838f9fda Update README.md 2023-11-18 23:57:15 +01:00
liuzicheng1987 ff8220e0e6 Update composing_validators.md 2023-11-18 22:56:39 +01:00
Patrick Urbanke d21782a8d8 Allow several conditions in the Validator, which will then be connected by AllOf 2023-11-18 22:49:18 +01:00
Patrick Urbanke 206a3c7b4f Added the AlphaNumeric pattern 2023-11-18 22:23:15 +01:00
Patrick Urbanke 35904c584d Made sure that validators can be used as keys 2023-11-18 22:22:29 +01:00
Patrick Urbanke cfcc388480 rfl::Literal can now be used as a key in maps 2023-11-18 16:41:18 +01:00
Patrick Urbanke 1238f70ca0 cd into tests/json 2023-11-18 13:34:57 +01:00
liuzicheng1987 330c24959f std::tuple can also be flattened 2023-11-15 21:55:46 +01:00
Patrick Urbanke f3cd5d04b4 Added struct flattening with tuple 2023-11-15 21:45:09 +01:00
liuzicheng1987 5937bac8c3 Update anonymous_fields.md 2023-11-15 21:13:53 +01:00
Patrick Urbanke 642ba44c12 Merge branch 'main' of github.com:getml/reflect-cpp 2023-11-15 21:03:44 +01:00
Patrick Urbanke d7e9cc7496 Add a flatten anonymous test for flexbuffers 2023-11-15 21:01:37 +01:00
Patrick Urbanke 23eaad1629 Added support for struct flattening in anonymous fields 2023-11-15 00:49:19 +01:00
Patrick Urbanke 27263ee611 Added move_tuple_to_struct 2023-11-13 22:29:16 +01:00
Patrick Urbanke d8faf14dc9 Added flatten_ptr_tuple 2023-11-13 21:28:47 +01:00
liuzicheng1987 8decfce92f Fixed typo in flexbuffers.md 2023-11-13 20:04:18 +01:00
liuzicheng1987 d6fe4fd854 Update README.md 2023-11-13 20:02:43 +01:00
liuzicheng1987 944155c905 Update README.md 2023-11-13 19:56:51 +01:00
liuzicheng1987 82204df756 Added README.md for the flexbuffers tests 2023-11-13 19:54:49 +01:00
liuzicheng1987 9e8a61b0a2 Update README.md 2023-11-13 19:51:04 +01:00
Patrick Urbanke dbd0ab6037 Merge branch 'f/flexbuffers' 2023-11-13 18:30:38 +01:00
Patrick Urbanke 4792d596ee Added compile-time checks disallowing pointers 2023-11-12 22:25:08 +01:00
liuzicheng1987 3f4c2a51da Update README.md 2023-11-12 22:06:11 +01:00
liuzicheng1987 216e5bd629 Update flexbuffers.md 2023-11-12 21:01:15 +01:00
Patrick Urbanke 992115c6a0 Added test_save_load for JSON 2023-11-12 20:51:00 +01:00
Patrick Urbanke fe6f580e4f Merge branch 'f/flexbuffers' of github.com:getml/reflect-cpp into f/flexbuffers 2023-11-12 20:41:28 +01:00
Patrick Urbanke 8d000e9db2 Added support for saving and loading 2023-11-12 20:41:15 +01:00
liuzicheng1987 2dc82e9bb5 Update flexbuffers.md 2023-11-12 20:08:48 +01:00
liuzicheng1987 bad3f5f907 Create flexbuffers.md 2023-11-12 18:52:36 +01:00
Patrick Urbanke 73ddc22063 Added second monster example 2023-11-12 18:38:51 +01:00
Patrick Urbanke 8940ff56b2 Merge branch 'f/flexbuffers' of github.com:getml/reflect-cpp into f/flexbuffers 2023-11-12 17:46:05 +01:00
liuzicheng1987 b978bcea63 Update backwards_compatability.md 2023-11-12 18:14:41 +01:00
Patrick Urbanke 7e7691500f Use rfl::Variant 2023-11-12 17:36:34 +01:00
Patrick Urbanke a2c99ad37d Added the monster example to the JSON tests 2023-11-12 17:03:31 +01:00
liuzicheng1987 5c4b995a67 Update variants_and_tagged_unions.md 2023-11-12 17:01:01 +01:00
Patrick Urbanke 6097bdb1bf Added the monster example 2023-11-12 16:46:56 +01:00