GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ISerializable.cpp
Go to the documentation of this file.
1#include "ISerializable.h"
2
3using namespace std;
4
5namespace gui_framework
6{
7 namespace interfaces
8 {
9 ostream& operator << (ostream& outputStream, const ISerializable& serializable)
10 {
11 return outputStream << serializable.getStructure();
12 }
13 }
14}
Provides interface for serializable to JSON format.
virtual json::JSONBuilder getStructure() const =0
ostream & operator<<(ostream &outputStream, const ISerializable &serializable)