GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::interfaces::IDeserializer Class Referenceabstract

Interface for all deserializers. More...

#include <IDeserializer.h>

Inheritance diagram for gui_framework::interfaces::IDeserializer:
gui_framework::deserializers::ButtonDeserializer gui_framework::deserializers::CheckBoxDeserializer gui_framework::deserializers::ChildWindowDeserializer gui_framework::deserializers::DropDownComboBoxDeserializer gui_framework::deserializers::DropDownListComboBoxDeserializer gui_framework::deserializers::EditControlDeserializer gui_framework::deserializers::GroupBoxDeserializer gui_framework::deserializers::HorizontalTrackbarControlDeserializer gui_framework::deserializers::IconListViewDeserializer gui_framework::deserializers::ImageButtonDeserializer gui_framework::deserializers::InfiniteProgressBarDeserializer gui_framework::deserializers::ListBoxDeserializer gui_framework::deserializers::ListIconListViewDeserializer gui_framework::deserializers::ListTextIconListViewDeserializer gui_framework::deserializers::ListTextListViewDeserializer gui_framework::deserializers::MultipleSelectListBoxDeserializer gui_framework::deserializers::ProgressBarDeserializer gui_framework::deserializers::RichEditDeserializer gui_framework::deserializers::SeparateWindowDeserializer gui_framework::deserializers::SimpleComboBoxDeserializer gui_framework::deserializers::StaticControlDeserializer gui_framework::deserializers::TabControlDeserializer gui_framework::deserializers::TextIconListViewDeserializer gui_framework::deserializers::TextListViewDeserializer gui_framework::deserializers::VerticalTrackbarControlDeserializer

Public Member Functions

 IDeserializer ()=default
 
virtual BaseComponentdeserialize (const std::string &componentName, const json::utility::jsonObject &description, BaseComposite *parent) const =0
 Created component pointer already handled by its parent.
 
virtual ~IDeserializer ()=default
 

Detailed Description

Interface for all deserializers.

Definition at line 10 of file IDeserializer.h.

Constructor & Destructor Documentation

◆ IDeserializer()

gui_framework::interfaces::IDeserializer::IDeserializer ( )
default

◆ ~IDeserializer()

virtual gui_framework::interfaces::IDeserializer::~IDeserializer ( )
virtualdefault

Member Function Documentation

◆ deserialize()

virtual BaseComponent * gui_framework::interfaces::IDeserializer::deserialize ( const std::string & componentName,
const json::utility::jsonObject & description,
BaseComposite * parent ) const
pure virtual

Created component pointer already handled by its parent.

Parameters
componentNameField name from JSON
descriptionField data from JSON
parentParent composite or nullptr if has no parent
Returns

Implemented in gui_framework::deserializers::ButtonDeserializer, gui_framework::deserializers::CheckBoxDeserializer, gui_framework::deserializers::ChildWindowDeserializer, gui_framework::deserializers::DropDownComboBoxDeserializer, gui_framework::deserializers::DropDownListComboBoxDeserializer, gui_framework::deserializers::EditControlDeserializer, gui_framework::deserializers::GroupBoxDeserializer, gui_framework::deserializers::HorizontalTrackbarControlDeserializer, gui_framework::deserializers::IconListViewDeserializer, gui_framework::deserializers::ImageButtonDeserializer, gui_framework::deserializers::InfiniteProgressBarDeserializer, gui_framework::deserializers::ListBoxDeserializer, gui_framework::deserializers::ListIconListViewDeserializer, gui_framework::deserializers::ListTextIconListViewDeserializer, gui_framework::deserializers::ListTextListViewDeserializer, gui_framework::deserializers::MultipleSelectListBoxDeserializer, gui_framework::deserializers::ProgressBarDeserializer, gui_framework::deserializers::RichEditDeserializer, gui_framework::deserializers::SeparateWindowDeserializer, gui_framework::deserializers::SimpleComboBoxDeserializer, gui_framework::deserializers::StaticControlDeserializer, gui_framework::deserializers::TabControlDeserializer, gui_framework::deserializers::TextIconListViewDeserializer, gui_framework::deserializers::TextListViewDeserializer, and gui_framework::deserializers::VerticalTrackbarControlDeserializer.


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