Scorum
libraries
protocol
operation_util_impl.cpp
Go to the documentation of this file.
1
#include <string>
2
3
namespace
fc
{
4
5
std::string
name_from_type
(
const
std::string& type_name)
6
{
7
auto
start = type_name.find_last_of(
':'
) + 1;
8
auto
end = type_name.find_last_of(
'_'
);
9
return
type_name.substr(start, end - start);
10
}
11
12
}
// fc
fc
Definition:
game.cpp:4
fc::name_from_type
std::string name_from_type(const std::string &type_name)
Definition:
operation_util_impl.cpp:5
Generated on Thu Jun 9 2022 13:04:26 for Scorum by
1.9.1