MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / get

Function get

QtNodeEditor/src/Properties.hpp:20–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19 template <typename T>
20 bool
21 get(QString name, T* v) const
22 {
23 QVariant const &var = _values[name];
24
25 if (var.canConvert<T>())
26 {
27 *v = _values[name].value<T>();
28
29 return true;
30 }
31
32 return false;
33 }
34
35 QVariantMap const &
36 values() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected