Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UDR
Commits
bd3fe95d
Commit
bd3fe95d
authored
Sep 23, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for SSC Mode
parent
999c11f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/api_server/model/SscMode.cpp
src/api_server/model/SscMode.cpp
+4
-0
src/api_server/model/SscMode.h
src/api_server/model/SscMode.h
+3
-0
No files found.
src/api_server/model/SscMode.cpp
View file @
bd3fe95d
...
...
@@ -43,6 +43,10 @@ void SscMode::validate() {
// TODO: implement validation
}
void
SscMode
::
set_value
(
std
::
string
value
)
{
this
->
value
=
value
;
}
void
SscMode
::
get_value
(
std
::
string
&
value
)
const
{
value
=
this
->
value
;
}
std
::
string
SscMode
::
get_value
()
const
{
return
value
;
}
void
to_json
(
nlohmann
::
json
&
j
,
const
SscMode
&
o
)
{
j
=
o
.
get_value
();
}
void
from_json
(
const
nlohmann
::
json
&
j
,
SscMode
&
o
)
{
...
...
src/api_server/model/SscMode.h
View file @
bd3fe95d
...
...
@@ -52,6 +52,9 @@ class SscMode {
virtual
~
SscMode
();
void
validate
();
void
set_value
(
std
::
string
value
);
void
get_value
(
std
::
string
&
value
)
const
;
std
::
string
get_value
()
const
;
/////////////////////////////////////////////
/// SscMode members
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment