MCPcopy Create free account
hub / github.com/DFHack/dfhack / get

Function get

library/include/jsoncpp-ex.h:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 template <typename T> bool is (const Json::Value &val) { return false; }
7 template <typename T> T as (const Json::Value &val);
8 template <typename T> T get (const Json::Value &val, const std::string &key, const T &default_) { return default_; }
9
10#define define_helpers(type, is_func, as_func) \
11 template<> inline bool is<type> (const Json::Value &val) { return val.is_func(); } \

Callers 15

get_from_lua_stateFunction · 0.70
call_and_push_implFunction · 0.70
LuaTools.hFile · 0.70
PushDFObjectFunction · 0.70
GetDFObjectFunction · 0.70
CheckDFObjectFunction · 0.70
AssignDFObjectFunction · 0.70
CheckDFAssignFunction · 0.70
is_instanceFunction · 0.70
is_direct_instanceFunction · 0.70
allocateFunction · 0.70
weak_from_thisMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected