Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
90c71577
Commit
90c71577
authored
Oct 19, 2022
by
Stefan Spettel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(smf): Add getFirstFlowDescription function in PCCRule
Signed-off-by:
Stefan Spettel
<
stefan.spettel@eurecom.fr
>
parent
12660a66
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/api-server/model/PccRule.cpp
src/api-server/model/PccRule.cpp
+10
-0
src/api-server/model/PccRule.h
src/api-server/model/PccRule.h
+2
-0
No files found.
src/api-server/model/PccRule.cpp
View file @
90c71577
...
@@ -732,6 +732,16 @@ void PccRule::unsetTscaiInputUl() {
...
@@ -732,6 +732,16 @@ void PccRule::unsetTscaiInputUl() {
}
}
*/
*/
std
::
string
PccRule
::
getFirstFlowDescription
()
const
{
std
::
string
flow
=
""
;
if
(
flowInfosIsSet
()
&&
getFlowInfos
().
size
()
>
0
)
{
if
(
getFlowInfos
()[
0
].
flowDescriptionIsSet
())
{
flow
=
getFlowInfos
()[
0
].
getFlowDescription
();
}
}
return
flow
;
}
}
// namespace model
}
// namespace model
}
// namespace smf_server
}
// namespace smf_server
}
// namespace oai
}
// namespace oai
src/api-server/model/PccRule.h
View file @
90c71577
...
@@ -210,6 +210,8 @@ class PccRule {
...
@@ -210,6 +210,8 @@ class PccRule {
void unsetTscaiInputUl();
void unsetTscaiInputUl();
*/
*/
std
::
string
getFirstFlowDescription
()
const
;
friend
void
to_json
(
nlohmann
::
json
&
j
,
const
PccRule
&
o
);
friend
void
to_json
(
nlohmann
::
json
&
j
,
const
PccRule
&
o
);
friend
void
from_json
(
const
nlohmann
::
json
&
j
,
PccRule
&
o
);
friend
void
from_json
(
const
nlohmann
::
json
&
j
,
PccRule
&
o
);
...
...
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