From ad7c5d1d25b1e3ee20f1c06f377c495bb5c25469 Mon Sep 17 00:00:00 2001 From: liuzicheng1987 Date: Tue, 3 Oct 2023 16:40:33 +0200 Subject: [PATCH 1/3] Added link to the chapter on the custom parser --- docs/custom_classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/custom_classes.md b/docs/custom_classes.md index dcfce5b0..878d64ef 100644 --- a/docs/custom_classes.md +++ b/docs/custom_classes.md @@ -12,7 +12,7 @@ If you want your class to be supported by reflect-cpp, it needs to have the foll If you class fulfills these three conditions, then it is fully supported by all serialization and deserialization routines in reflect-cpp. -If you absolutely do not want to make any changes to your original class, you can implement a custom parser. +If you absolutely do not want to make any changes to your original class, you can implement a [custom parser](https://github.com/getml/reflect-cpp/blob/main/docs/custom_parser.md). ## Example 1: Using an Impl struct From cd55140484fc6d17f5efeb76fcadfb93f51826b6 Mon Sep 17 00:00:00 2001 From: liuzicheng1987 Date: Tue, 3 Oct 2023 16:43:46 +0200 Subject: [PATCH 2/3] Update links to documentation --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e309a26a..6d892721 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,11 @@ reflect-cpp currently supports the following serialization formats: - **XML**: Requires [libxml2](https://github.com/GNOME/libxml2) (TODO). - **flexbuffers**: Requires [flatbuffers](https://github.com/google/flatbuffers) (TODO). -reflect-cpp is deliberately designed in a very modular format, using [concepts](https://en.cppreference.com/w/cpp/language/constraints), to make it as easy as possible to support additional serialization formats. Refer to the [documentation](TODO) for details. PRs related to serialization formats are welcome. +reflect-cpp is deliberately designed in a very modular format, using [concepts](https://en.cppreference.com/w/cpp/language/constraints), to make it as easy as possible to support additional serialization formats. Refer to the [documentation](https://github.com/getml/reflect-cpp/tree/main/docs) for details. PRs related to serialization formats are welcome. + +## Documentation + +Click [here](https://github.com/getml/reflect-cpp/tree/main/docs). ## Current status @@ -135,7 +139,7 @@ At the moment, this is work-in-progress. Here are some things that are still mis - Extensive testing - Benchmarks -- Documentation +- Documentation is unfinished - Support for std::array, std::unique_ptr and full support for rfl::Box - Support for rfl::Flatten> (serde supports this as well) - Support for std::any (whether we want to support this as all is still being debated). From 06aaab84392dd7888f2a3018731bff695f04de65 Mon Sep 17 00:00:00 2001 From: liuzicheng1987 Date: Tue, 3 Oct 2023 16:49:30 +0200 Subject: [PATCH 3/3] Fixed third link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d892721..0dbfb060 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ In addition, it includes the following custom containers: ### Custom classes -Finally, it is very easy to extend full support to your own classes, refer to the [documentation](TODO) for details. +Finally, it is very easy to extend full support to your own classes, refer to the [documentation](https://github.com/getml/reflect-cpp/tree/main/docs) for details. ## Serialization formats @@ -127,7 +127,7 @@ reflect-cpp currently supports the following serialization formats: - **XML**: Requires [libxml2](https://github.com/GNOME/libxml2) (TODO). - **flexbuffers**: Requires [flatbuffers](https://github.com/google/flatbuffers) (TODO). -reflect-cpp is deliberately designed in a very modular format, using [concepts](https://en.cppreference.com/w/cpp/language/constraints), to make it as easy as possible to support additional serialization formats. Refer to the [documentation](https://github.com/getml/reflect-cpp/tree/main/docs) for details. PRs related to serialization formats are welcome. +reflect-cpp is deliberately designed in a very modular format, using [concepts](https://en.cppreference.com/w/cpp/language/constraints), to make it as easy as possible to support additional serialization formats. Refer to the [documentation](https://github.com/getml/reflect-cpp/tree/main/docs) for details (TODO). PRs related to serialization formats are welcome. ## Documentation