MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / get_impl_ptr

Function get_impl_ptr

include/behaviortree_cpp/contrib/json.hpp:20718–20721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20716
20717 /// get a pointer to the value (object)
20718 object_t* get_impl_ptr(object_t* /*unused*/) noexcept
20719 {
20720 return is_object() ? m_data.m_value.object : nullptr;
20721 }
20722
20723 /// get a pointer to the value (object)
20724 constexpr const object_t* get_impl_ptr(const object_t* /*unused*/) const noexcept

Callers 1

get_ptrFunction · 0.85

Calls 8

is_objectFunction · 0.85
is_arrayFunction · 0.85
is_stringFunction · 0.85
is_booleanFunction · 0.85
is_number_integerFunction · 0.85
is_number_unsignedFunction · 0.85
is_number_floatFunction · 0.85
is_binaryFunction · 0.85

Tested by

no test coverage detected