MCPcopy Create free account
hub / github.com/CleverRaven/Cataclysm-DDA / get_string_array

Method get_string_array

src/json.cpp:377–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377std::vector<std::string> JsonObject::get_string_array( const std::string &name ) const
378{
379 std::vector<std::string> ret;
380 for( const std::string entry : get_array( name ) ) {
381 ret.push_back( entry );
382 }
383 return ret;
384}
385
386JsonObject JsonObject::get_object( const std::string &name ) const
387{

Callers 15

deserializeMethod · 0.80
loadMethod · 0.80
loadMethod · 0.80
load_mod_tilesetFunction · 0.80
loadMethod · 0.80
loadMethod · 0.80
jmapgen_computerMethod · 0.80
load_basic_infoMethod · 0.80
set_has_any_traitMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected