Home
last modified time | relevance | path

Searched refs:ObjectId (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/
H A Dintf_property_register.h28 virtual ObjectId GetObjectId() const = 0; in META_BEGIN_NAMESPACE()
34 virtual IProperty::Ptr Create(const ObjectId& object, BASE_NS::string_view name) const = 0;
38 virtual IAny::Ptr ConstructAny(const ObjectId& id) const = 0;
39 virtual bool IsAnyRegistered(const ObjectId& id) const = 0;
41 virtual void UnregisterAny(const ObjectId& id) = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dmetav1_compat.cpp27 static bool IsV1Property(ObjectId oid) in IsV1Property()
34 static bool CheckBasicMetaTypes(ObjectId oid, ObjectId& out, TypeList<Types...>) in CheckBasicMetaTypes()
40 static bool IsV1BasicArray(ObjectId oid, ObjectId& out) in IsV1BasicArray()
45 static bool IsV1Any(ObjectId oid) in IsV1Any()
51 static ObjectId MakeAny(ObjectId oid) in MakeAny()
58 static ObjectId MakeArrayAny(ObjectId oid) in MakeArrayAny()
96 ISerNode::Ptr RewriteValueToAny(ObjectId property, ISerNode::Ptr node) in RewriteValueToAny()
108 ObjectId any = MakeAny(property); in RewriteValueToAny()
109 ObjectId uid; in RewriteValueToAny()
H A Dser_nodes.h104 …ObjectNode(BASE_NS::string className, BASE_NS::string name, const ObjectId& oid, const InstanceId&… in META_BEGIN_NAMESPACE()
118 ObjectId GetObjectId() const override in META_BEGIN_NAMESPACE()
139 void SetObjectId(ObjectId id) override in META_BEGIN_NAMESPACE()
160 ObjectId objectType; in META_BEGIN_NAMESPACE()
H A Dimporter.cpp26 static bool IsBuiltinAny(const ObjectId& oid) in IsBuiltinAny()
32 static bool IsBuiltinArrayAny(const ObjectId& oid) in IsBuiltinArrayAny()
44 bool Importer::IsRegisteredObjectType(const ObjectId& oid) const in IsRegisteredObjectType()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dids.h74 class ObjectId : public IdBase<ObjectId> {
76 using IdBase<ObjectId>::IdBase;
85 META_TYPE(ObjectId);
97 inline uint64_t hash(const META_NS::ObjectId& value) in hash()
H A Dtypes.h132 constexpr const ObjectId& Id() const noexcept in Id()
152 constexpr operator ObjectId() const noexcept in ObjectId() function
157 ObjectId id;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_object_registry.h132 BASE_NS::shared_ptr<IObject> Create(ObjectId id) const in Create()
138ObjectId id, const CreateInfo& createInfo, const BASE_NS::shared_ptr<IMetadata>& data) const = 0;
146 … virtual BASE_NS::shared_ptr<IObject> Create(ObjectId id, const CreateInfo& createInfo) const = 0;
192 … virtual BASE_NS::shared_ptr<const IObjectFactory> GetObjectFactory(const ObjectId& uid) const = 0;
272 typename Interface::Ptr Create(ObjectId uid) const in Create()
281 typename Interface::Ptr Create(ObjectId uid, BASE_NS::shared_ptr<IMetadata> data) const in Create()
290 typename Interface::Ptr Create(ObjectId uid, InstanceId instanceid) const in Create()
299 typename Interface::Ptr Create(ObjectId uid, const CreateInfo& createInfo) const in Create()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dobject_registry.h61 …IObject::Ptr Create(ObjectId uid, const CreateInfo& createInfo, const IMetadata::Ptr& data) const …
62 IObject::Ptr Create(ObjectId uid, const CreateInfo& createInfo) const override;
65 IObjectFactory::ConstPtr GetObjectFactory(const ObjectId& uid) const override;
87 IProperty::Ptr Create(const ObjectId& object, BASE_NS::string_view name) const override;
90 IAny::Ptr ConstructAny(const ObjectId& id) const override;
91 bool IsAnyRegistered(const ObjectId& id) const override;
93 void UnregisterAny(const ObjectId& id) override;
180 BASE_NS::unordered_map<ObjectId, BASE_NS::shared_ptr<AnyBuilder>> anyBuilders_;
H A Dobject_registry.cpp113 if (object->GetFactory()->GetClassInfo().Id() == ObjectId(uid)) { in UnregisterFromPluginRegistry()
240 IObject::Ptr ObjectRegistry::Create(ObjectId uid, const CreateInfo& createInfo, const IMetadata::Pt… in Create()
306 IObject::Ptr ObjectRegistry::Create(ObjectId uid, const CreateInfo& createInfo) const in Create()
328 IObjectFactory::ConstPtr ObjectRegistry::GetObjectFactory(const ObjectId& uid) const in GetObjectFactory()
666 META_NS::IProperty::Ptr ObjectRegistry::Create(const ObjectId& object, BASE_NS::string_view name) c… in Create()
686 IAny::Ptr ObjectRegistry::ConstructAny(const ObjectId& id) const in ConstructAny()
692 bool ObjectRegistry::IsAnyRegistered(const ObjectId& id) const in IsAnyRegistered()
705 void ObjectRegistry::UnregisterAny(const ObjectId& id) in UnregisterAny()
H A Dany.h25 ObjectId GetClassId() const override in META_BEGIN_NAMESPACE()
H A Dclass_registry.h64 mutable BASE_NS::unordered_map<ObjectId, IObjectFactory::Ptr> objectFactories_;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/model/
H A Dinstantiating_object_provider.h27 bool SetObjectClassId(const ObjectId& id) override; in META_BEGIN_NAMESPACE()
33 ObjectId id_; in META_BEGIN_NAMESPACE()
H A Dinstantiating_object_provider.cpp19 bool InstantiatingObjectProvider::SetObjectClassId(const ObjectId& id) in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/serialization/
H A Dintf_ser_node.h53 virtual ObjectId GetObjectId() const = 0;
59 virtual void SetObjectId(ObjectId) = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/loaders/
H A Dintf_class_content_loader.h37 META_PROPERTY(ObjectId, ClassId);
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/loaders/
H A Dclass_content_loader.h30 META_IMPLEMENT_INTERFACE_PROPERTY(IClassContentLoader, ObjectId, ClassId) in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dany.h35 static constexpr ObjectId StaticGetClassId() in StaticGetClassId()
40 ObjectId GetClassId() const override in GetClassId()
223 static constexpr ObjectId StaticGetClassId() in StaticGetClassId()
228 ObjectId GetClassId() const override in GetClassId()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/model/
H A Dinstantiating_object_provider.h39 InstantiatingObjectProvider& ObjectClassUid(const ObjectId& id) in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dminimal_object.h35 ObjectId GetClassId() const override in META_BEGIN_NAMESPACE()
H A Dany_builder.h33 ObjectId GetObjectId() const override in META_BEGIN_NAMESPACE()
H A Dconcrete_base_object.h43 ObjectId GetClassId() const override in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/model/
H A Dintf_object_provider.h102 virtual bool SetObjectClassId(const ObjectId& id) = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/
H A Dobject_api.h277 virtual ObjectId GetClassId() const noexcept in GetClassId()
499 ObjectId GetClassId() const noexcept override in GetClassId()
514 bool IsCompatible(const ObjectId& id) const noexcept in IsCompatible()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/serialization/
H A Dcommon_value_serializers.h74 inline IObjectNode::Ptr CreateObjectNode(ObjectId oid, BASE_NS::string className) in CreateObjectNode()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dstack_property.h75 ObjectId GetClassId() const override in META_BEGIN_NAMESPACE()

12