GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
CheckBoxParser.cpp
Go to the documentation of this file.
1
#include "
CheckBoxParser.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
parsers
8
{
9
void
CheckBoxParser::parse
(
const
json::utility::jsonObject& description)
10
{
11
ButtonParser::parse
(description);
12
13
try
14
{
15
onCheckFunctionName
= description.getString(
"checkFunctionName"
);
16
onCheckModuleName
= description.getString(
"checkModuleName"
);
17
}
18
catch
(
const
json::exceptions::CantFindValueException&)
19
{
20
21
}
22
23
try
24
{
25
onClearFunctionName
= description.getString(
"clearFunctionName"
);
26
onClearModuleName
= description.getString(
"clearModuleName"
);
27
}
28
catch
(
const
json::exceptions::CantFindValueException&)
29
{
30
31
}
32
}
33
}
34
}
CheckBoxParser.h
gui_framework
Definition
BaseComponent.cpp:21
gui_framework::parsers::ButtonParser::parse
void parse(const json::utility::jsonObject &description) override
Definition
ButtonParser.cpp:12
gui_framework::parsers::CheckBoxParser::onCheckFunctionName
std::string onCheckFunctionName
Definition
CheckBoxParser.h:12
gui_framework::parsers::CheckBoxParser::onClearFunctionName
std::string onClearFunctionName
Definition
CheckBoxParser.h:14
gui_framework::parsers::CheckBoxParser::onCheckModuleName
std::string onCheckModuleName
Definition
CheckBoxParser.h:13
gui_framework::parsers::CheckBoxParser::onClearModuleName
std::string onClearModuleName
Definition
CheckBoxParser.h:15
gui_framework::parsers::CheckBoxParser::parse
void parse(const json::utility::jsonObject &description) override
Definition
CheckBoxParser.cpp:9
GUIFramework
src
Deserialization
Parsers
Buttons
CheckBoxParser.cpp
Generated by
1.12.0