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

Used for recreation windowed application from JSON. More...

#include <Recreator.h>

Public Member Functions

 Recreator (const std::filesystem::path &pathToJSON)
 
 Recreator (const std::string &json)
 
template<typename MainWindowT , typename... Args>
requires (std::is_base_of_v<BaseMainWindow, MainWindowT>)
std::unique_ptr< MainWindowT > deserialize (Args &&... args) const
 
 ~Recreator ()=default
 

Detailed Description

Used for recreation windowed application from JSON.

Definition at line 9 of file Recreator.h.

Constructor & Destructor Documentation

◆ Recreator() [1/2]

gui_framework::Recreator::Recreator ( const std::filesystem::path & pathToJSON)

◆ Recreator() [2/2]

gui_framework::Recreator::Recreator ( const std::string & json)

◆ ~Recreator()

gui_framework::Recreator::~Recreator ( )
default

Member Function Documentation

◆ deserialize()

template<typename MainWindowT , typename... Args>
requires (std::is_base_of_v<BaseMainWindow, MainWindowT>)
std::unique_ptr< MainWindowT > gui_framework::Recreator::deserialize ( Args &&... args) const

Definition at line 26 of file Recreator.h.


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