wxWidgets: Using the Visitor Pattern for Serializing Class Hierarchies in C++
Автор: onlyfastcode
Загружено: 2023-06-04
Просмотров: 2292
Unlock the secrets of serializing class hierarchies in C++ and wxWidgets with this tutorial. Dive into the challenges of direct serialization methods and dynamic casts, and discover the transformative power of the Visitor pattern. By separating algorithms from objects, the Visitor pattern brings flexibility and extensibility to your serialization process. Follow step-by-step instructions to implement the visitor interface and connect it to your class hierarchy. Simplify and streamline serialization in your C++ and wxWidgets projects using the Visitor pattern's clear and straightforward approach.
Source: https://github.com/lszl84/wx_visitor_...
With in-class serialization: https://github.com/lszl84/wx_visitor_...
0:00 Class Hierarchies and Serialization
0:50 UI Updates
3:18 The Shape Class Hierarchy
4:42 In-Class Serialization
6:50 Dynamic Casts
8:05 The Visitor Pattern
9:41 Serializing with Visitors
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: