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

Deserialize ProgressBar from JSON. More...

#include <ProgressBarDeserializer.h>

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

Public Member Functions

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

Detailed Description

Deserialize ProgressBar from JSON.

Definition at line 10 of file ProgressBarDeserializer.h.

Constructor & Destructor Documentation

◆ ProgressBarDeserializer()

gui_framework::deserializers::ProgressBarDeserializer::ProgressBarDeserializer ( )
default

◆ ~ProgressBarDeserializer()

gui_framework::deserializers::ProgressBarDeserializer::~ProgressBarDeserializer ( )
default

Member Function Documentation

◆ deserialize()

BaseComponent * gui_framework::deserializers::ProgressBarDeserializer::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 ProgressBarDeserializer.cpp.


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