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
|
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
|
7cdd1acc32
|
Treat numeric map types as keys; #14
|
2023-11-20 22:10:02 +01:00 |
|
Patrick Urbanke
|
6b857e1104
|
Added support for reading and writing into streams
|
2023-11-19 12:34:06 +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
|
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
|
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 |
|
Patrick Urbanke
|
4792d596ee
|
Added compile-time checks disallowing pointers
|
2023-11-12 22:25:08 +01:00 |
|
Patrick Urbanke
|
992115c6a0
|
Added test_save_load for JSON
|
2023-11-12 20:51:00 +01:00 |
|
Patrick Urbanke
|
8d000e9db2
|
Added support for saving and loading
|
2023-11-12 20:41:15 +01:00 |
|
Patrick Urbanke
|
3ae75eb8a5
|
Added rfl::Variant
|
2023-11-12 16:46:46 +01:00 |
|
Patrick Urbanke
|
a68622e57f
|
Added tests for Ref, Box and custom constructors
|
2023-11-12 15:04:10 +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 |
|
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 |
|
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
|
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 |
|
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 |
|