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

Deserialize ListBox from JSON. More...

#include <ListBoxDeserializer.h>

Inheritance diagram for gui_framework::deserializers::ListBoxDeserializer:
gui_framework::interfaces::IDeserializer

Public Member Functions

 ListBoxDeserializer ()=default
 
BaseComponentdeserialize (const std::string &componentName, const json::utility::jsonObject &description, BaseComposite *parent) const override
 Created component pointer already handled by its parent.
 
 ~ListBoxDeserializer ()=default
 
- Public Member Functions inherited from gui_framework::interfaces::IDeserializer
 IDeserializer ()=default
 
virtual ~IDeserializer ()=default
 

Detailed Description

Deserialize ListBox from JSON.

Definition at line 10 of file ListBoxDeserializer.h.

Constructor & Destructor Documentation

◆ ListBoxDeserializer()

gui_framework::deserializers::ListBoxDeserializer::ListBoxDeserializer ( )
default

◆ ~ListBoxDeserializer()

gui_framework::deserializers::ListBoxDeserializer::~ListBoxDeserializer ( )
default

Member Function Documentation

◆ deserialize()

BaseComponent * gui_framework::deserializers::ListBoxDeserializer::deserialize ( const std::string & componentName,
const json::utility::jsonObject & description,
BaseComposite * parent ) const
overridevirtual

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

Implements gui_framework::interfaces::IDeserializer.

Definition at line 13 of file ListBoxDeserializer.cpp.


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