Lines Matching defs:property
18 #include <meta/interface/property/construct_array_property.h>
19 #include <meta/interface/property/property.h>
25 ObjectProxy::ObjectProxy(META_NS::IProperty::ConstPtr& property, napi_env env)
26 : PropertyProxy(META_NS::IProperty::Ptr(property, const_cast<META_NS::IProperty*>(property.get()))), env_(env)
44 void ObjectProxy::AddProperty(BASE_NS::unique_ptr<PropertyProxy> property, BASE_NS::string_view member)
48 properties_.insert_or_assign(member, BASE_NS::move(property));
57 void ObjectProxy::AddProperty(const META_NS::IProperty::Ptr& property, BASE_NS::string_view member)
59 if (property->IsCompatible(META_NS::UidFromType<BASE_NS::Math::Vec2>())) {
60 AddProperty(BASE_NS::make_unique<Vec2Proxy>(env_, property), member);