GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::deserializers::MainWindowDeserializer Class Reference

Deserialize MainWindow from JSON. More...

#include <MainWindowDeserializer.h>

Public Member Functions

 MainWindowDeserializer ()=default
 
template<typename MainWindowT >
requires (std::is_base_of_v<BaseMainWindow, MainWindowT>)
void deserialize (const std::string &componentName, const json::utility::jsonObject &description, std::unique_ptr< MainWindowT > &mainWindow) const
 MainWindow has no parent, you must manage the pointer.
 
 ~MainWindowDeserializer ()=default
 

Detailed Description

Deserialize MainWindow from JSON.

Definition at line 20 of file MainWindowDeserializer.h.

Constructor & Destructor Documentation

◆ MainWindowDeserializer()

gui_framework::deserializers::MainWindowDeserializer::MainWindowDeserializer ( )
default

◆ ~MainWindowDeserializer()

gui_framework::deserializers::MainWindowDeserializer::~MainWindowDeserializer ( )
default

Member Function Documentation

◆ deserialize()

template<typename MainWindowT >
requires (std::is_base_of_v<BaseMainWindow, MainWindowT>)
void gui_framework::deserializers::MainWindowDeserializer::deserialize ( const std::string & componentName,
const json::utility::jsonObject & description,
std::unique_ptr< MainWindowT > & mainWindow ) const

MainWindow has no parent, you must manage the pointer.

Exceptions
WrongMenuTypeException

Definition at line 36 of file MainWindowDeserializer.h.


The documentation for this class was generated from the following file: