Serialization | C++ Simple Customizable Reflection System Tutorial | Example

Pubblicato il: 31 marzo 2023
sul canale di: Connor De Meyer
825
12

This is an example video of a serialization system using the Reflection system that we have been developing during the previous tutorials.
This is a header only implementation and does not require the user to add a library, add a build step or add an experimental C++ feature.

In this example we add new functionality to the Type Info struct and fill it with function pointers to specific serializers for each type. We then Serialize any type to either JSon or Binary. We use the system to make copies of types and save and load from disk. At the end we show how easy it is to add functionality to the system.

Video Source Code:
https://github.com/ConnorDeMeyer/Refl...
Reflection API
https://github.com/ConnorDeMeyer/Glas...

00:00 Type Info
00:31 Concepts
01:43 Serialize/Deserialize examples
02:45 Type Info Populating
03:43 Serialization Process
05:55 Example Types Overview
06:27 GameObject Serialization
07:39 GameObject Copying
08:08 Previous Video Example
08:30 New Functionality
08:21 std::optional Serialization


In questa pagina del sito puoi guardare il video online Serialization | C++ Simple Customizable Reflection System Tutorial | Example della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Connor De Meyer 31 marzo 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 825 volte e gli è piaciuto 12 spettatori. Buona visione!