Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
cpp-libs
Actor Framework
Commits
b092a645
Commit
b092a645
authored
Jan 18, 2019
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/serialization-fixes'
parents
5a94d7ba
a24819cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
libcaf_core/caf/type_nr.hpp
libcaf_core/caf/type_nr.hpp
+1
-0
libcaf_core/src/message.cpp
libcaf_core/src/message.cpp
+8
-0
libcaf_core/src/uniform_type_info_map.cpp
libcaf_core/src/uniform_type_info_map.cpp
+1
-0
No files found.
libcaf_core/caf/type_nr.hpp
View file @
b092a645
...
@@ -44,6 +44,7 @@ using sorted_builtin_types =
...
@@ -44,6 +44,7 @@ using sorted_builtin_types =
std
::
vector
<
actor_addr
>
,
// @addrvec
std
::
vector
<
actor_addr
>
,
// @addrvec
atom_value
,
// @atom
atom_value
,
// @atom
std
::
vector
<
char
>
,
// @charbuf
std
::
vector
<
char
>
,
// @charbuf
config_value
,
// @config_value
down_msg
,
// @down
down_msg
,
// @down
downstream_msg
,
// @downstream_msg
downstream_msg
,
// @downstream_msg
duration
,
// @duration
duration
,
// @duration
...
...
libcaf_core/src/message.cpp
View file @
b092a645
...
@@ -559,6 +559,14 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr,
...
@@ -559,6 +559,14 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr,
// -- related non-members ------------------------------------------------------
// -- related non-members ------------------------------------------------------
error
inspect
(
serializer
&
sink
,
message
&
msg
)
{
return
msg
.
save
(
sink
);
}
error
inspect
(
deserializer
&
source
,
message
&
msg
)
{
return
msg
.
load
(
source
);
}
std
::
string
to_string
(
const
message
&
msg
)
{
std
::
string
to_string
(
const
message
&
msg
)
{
if
(
msg
.
empty
())
if
(
msg
.
empty
())
return
"<empty-message>"
;
return
"<empty-message>"
;
...
...
libcaf_core/src/uniform_type_info_map.cpp
View file @
b092a645
...
@@ -60,6 +60,7 @@ const char* numbered_type_names[] = {
...
@@ -60,6 +60,7 @@ const char* numbered_type_names[] = {
"@addrvec"
,
"@addrvec"
,
"@atom"
,
"@atom"
,
"@charbuf"
,
"@charbuf"
,
"@config_value"
,
"@down"
,
"@down"
,
"@downstream_msg"
,
"@downstream_msg"
,
"@duration"
,
"@duration"
,
...
...
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