MCPcopy 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
12std::string StringMaker<item>::convert( const item &i )
13{
14 return string_format( "item( itype_id( \"%s\" ) )", i.typeId().str() );
15}
16
17std::string StringMaker<point>::convert( const point &p )
18{

Callers 3

iuse_test.cppFile · 0.45
idMethod · 0.45

Calls 6

string_formatFunction · 0.85
typeIdMethod · 0.80
get_stringMethod · 0.60
to_stringFunction · 0.50
strMethod · 0.45
typeMethod · 0.45

Tested by 1

idMethod · 0.36