Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CleverRaven/Cataclysm-DDA
/ convert
Method
convert
tests/stringmaker.cpp:12–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
{
11
12
std::string StringMaker<item>::convert( const item &i )
13
{
14
return string_format(
"item( itype_id( \"
%s\
" ) )"
, i.typeId().str() );
15
}
16
17
std::string StringMaker<point>::convert( const point &p )
18
{
Callers
3
iuse_test.cpp
File · 0.45
generic_factory_test.cpp
File · 0.45
id
Method · 0.45
Calls
6
string_format
Function · 0.85
typeId
Method · 0.80
get_string
Method · 0.60
to_string
Function · 0.50
str
Method · 0.45
type
Method · 0.45
Tested by
1
id
Method · 0.36