Home
last modified time | relevance | path

Searched refs:ObjectId (Results 1 - 25 of 39) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/
H A Dintf_property_register.h28 virtual ObjectId GetObjectId() const = 0;
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;
/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 oi
[all...]
H A Dser_nodes.h104 ObjectNode(BASE_NS::string className, BASE_NS::string name, const ObjectId& oid, const InstanceId& iid, in ObjectNode()
118 ObjectId GetObjectId() const override
139 void SetObjectId(ObjectId id) override
160 ObjectId objectType;
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()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dids.h74 class ObjectId : public IdBase<ObjectId> { class
76 using IdBase<ObjectId>::IdBase;
85 META_TYPE(ObjectId); variable
97 inline uint64_t hash(const META_NS::ObjectId& value) in hash()
H A Dtypes.h132 constexpr const ObjectId& Id() const noexcept
152 constexpr operator ObjectId() const noexcept
157 ObjectId id;
/foundation/graphic/graphic_3d/lume/metaobject/src/model/
H A Dinstantiating_object_provider.h27 bool SetObjectClassId(const ObjectId& id) override;
33 ObjectId id_;
H A Dinstantiating_object_provider.cpp19 bool InstantiatingObjectProvider::SetObjectClassId(const ObjectId& id) in SetObjectClassId()
/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()
138 ObjectId 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()
/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 override;
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::Ptr& data) const 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) const 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
H A Dclass_registry.h64 mutable BASE_NS::unordered_map<ObjectId, IObjectFactory::Ptr> objectFactories_;
/foundation/graphic/graphic_3d/lume/metaobject/test/src/base/
H A DIdsTest.cpp81 * @tc.desc: test ObjectId function
85 HWTEST_F(IdsTest, ObjectId, TestSize.Level1)
87 IdTest<ObjectId>();
H A DBaseObjectTest.cpp158 EXPECT_EQ(ObjectId(derived->GetSuperClassUid()), META_NS::ClassId::BaseObject); in HWTEST_F()
178 EXPECT_EQ(ObjectId(derived->GetSuperClassUid()), META_NS::ClassId::MetaObject); in HWTEST_F()
198 EXPECT_EQ(ObjectId(derived->GetSuperClassUid()), META_NS::ClassId::Object); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/loaders/
H A Dintf_class_content_loader.h37 META_PROPERTY(ObjectId, ClassId);
/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;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/model/
H A Dinstantiating_object_provider.h39 InstantiatingObjectProvider& ObjectClassUid(const ObjectId& id) in ObjectClassUid()
/foundation/graphic/graphic_3d/lume/metaobject/src/loaders/
H A Dclass_content_loader.h30 META_IMPLEMENT_INTERFACE_PROPERTY(IClassContentLoader, ObjectId, ClassId)
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dany_builder.h33 ObjectId GetObjectId() const override
H A Dminimal_object.h35 ObjectId GetClassId() const override
H A Dconcrete_base_object.h43 ObjectId GetClassId() const override
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/model/
H A Dintf_object_provider.h102 virtual bool SetObjectClassId(const ObjectId& id) = 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
223 static constexpr ObjectId StaticGetClassId() in StaticGetClassId()
228 ObjectId GetClassId() const override
/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dstack_property.h75 ObjectId GetClassId() const override

Completed in 11 milliseconds

12