https://github.com/andreicherniaev/overload_qdatastream_example
How to overload the QDataStream &operator << and >> Example
https://github.com/andreicherniaev/overload_qdatastream_example
deserialization example qt serialization
Last synced: 10 months ago
JSON representation
How to overload the QDataStream &operator << and >> Example
- Host: GitHub
- URL: https://github.com/andreicherniaev/overload_qdatastream_example
- Owner: AndreiCherniaev
- License: apache-2.0
- Created: 2024-05-26T11:18:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T03:38:54.000Z (over 1 year ago)
- Last Synced: 2025-01-31T19:42:43.253Z (12 months ago)
- Topics: deserialization, example, qt, serialization
- Language: C++
- Homepage: https://doc.qt.io/qt-6/qdatastream.html
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Example How to overload the QDataStream &operator << and >>. If you have class with private field and you want to get access to it via operator overloading then see unique_ptr_operator_overloading_unique_ptr [example](https://github.com/AndreiCherniaev/unique_ptr_operator_overloading_unique_ptr).
## How to build
```
git clone https://github.com/AndreiCherniaev/overload_QDataStream_example
cd overload_QDataStream_example
mkdir build/
cmake -S src/ -B build/
cmake --build build/ --parallel
```