https://github.com/lszl84/wx_visitor_tutorial
Serializing C++ class hierarchies with the Visitor pattern
https://github.com/lszl84/wx_visitor_tutorial
cpp design-patterns gof patterns wxwidgets
Last synced: about 1 hour ago
JSON representation
Serializing C++ class hierarchies with the Visitor pattern
- Host: GitHub
- URL: https://github.com/lszl84/wx_visitor_tutorial
- Owner: lszl84
- License: mit
- Created: 2023-05-21T07:00:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-18T14:42:48.000Z (about 1 year ago)
- Last Synced: 2025-05-18T15:35:53.270Z (about 1 year ago)
- Topics: cpp, design-patterns, gof, patterns, wxwidgets
- Language: C++
- Homepage: https://www.lukesdevtutorials.com
- Size: 206 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wx_visitor_tutorial
Serializing class hierarchies using the Visitor pattern.
[](https://www.youtube.com/watch?v=NunQjSSfGP0)
Full Tutorial: https://www.youtube.com/watch?v=NunQjSSfGP0
This tutorial is a part of the series about building a multiplatform Paint App in C++ with wxWidgets: https://www.youtube.com/watch?v=Spt5VF1aSps&list=PL0qQTroQZs5sxKZDdJrn8fEjNXCPT7f5T
## Requirements
This works on Windows, Mac, and Linux. You'll need `cmake` and a C++ compiler (tested on `clang`, `gcc`, and MSVC).
Linux builds require the GTK3 library and headers installed in the system.
## Building
To build the project, use:
```bash
cmake -S. -Bbuild
cmake --build build
```
This will create a directory named `build` and create all build artifacts there. The main executable can be found in the `build/subprojects/Build/wx_visitor_tutorial_core` folder.
---
Check out the blog for more! [www.onlyfastcode.com](https://www.onlyfastcode.com)
---