Home
last modified time | relevance | path

Searched refs:strict (Results 1 - 24 of 24) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dinterface_utils.h77 * @param strict If true, the object must implement all listed Uids. If false, it is enough to implement one.
81 const BASE_NS::array_view<const TypeId>& ids, bool strict) noexcept
83 return strict ? ObjectImplementsAll(object, ids) : ObjectImplementsAny(object, ids);
90 * @param strict If true, all of reqs must be found from uids. If false, one match is enough.
94 const BASE_NS::vector<BASE_NS::Uid>& uids, const BASE_NS::vector<BASE_NS::Uid>& reqs, bool strict) noexcept
102 size_t matches = strict ? reqs.size() : 1;
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dclass_registry.h31 /** If strict=true, return true if all bits from bitmask are set in compareTo.
32 * If strict=false, return true if any bits from bitmask are set in compareTo. */
33 constexpr inline bool CheckCategoryBits(ObjectCategoryBits compareTo, ObjectCategoryBits bitmask, bool strict) in CheckCategoryBits() argument
35 return strict ? (compareTo & bitmask) == bitmask : (compareTo & bitmask) != 0; in CheckCategoryBits()
47 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const;
60 const BASE_NS::vector<BASE_NS::Uid>& interfaceUids, bool strict, bool excludeDeprecated) const override;
H A Dclass_registry.cpp85 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const in GetAllTypes()
95 if (CheckCategoryBits(factory->GetClassInfo().category, category, strict)) { in GetAllTypes()
103 const BASE_NS::vector<BASE_NS::Uid>& interfaceUids, bool strict, bool excludeDeprecated) const in GetAllTypes()
117 if (CheckInterfaces(factory->GetClassInterfaces(), interfaceUids, strict)) { in GetAllTypes()
84 GetAllTypes( ObjectCategoryBits category, bool strict, bool excludeDeprecated) const GetAllTypes() argument
102 GetAllTypes( const BASE_NS::vector<BASE_NS::Uid>& interfaceUids, bool strict, bool excludeDeprecated) const GetAllTypes() argument
H A Dobject.cpp68 BASE_NS::vector<IObject::Ptr> Object::GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) const in GetAttachments()
71 return attachments_->GetAttachments(uids, strict); in GetAttachments()
H A Dattachment_container.cpp184 BASE_NS::vector<IObject::Ptr> AttachmentContainer::GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) in GetAttachments() argument
186 return ObjectContainerFwd::FindAll({ "", TraversalType::NO_HIERARCHY, uids, strict }); in GetAttachments()
H A Dobject.h53 BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) const override;
H A Dattachment_container.h65 BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) override;
H A Dobject_registry.h68 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const override;
73 BASE_NS::vector<IObject::Ptr> GetObjectInstancesByCategory(ObjectCategoryBits category, bool strict) const override;
H A Dobject_registry.cpp335 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const in GetAllTypes()
338 return classRegistry_.GetAllTypes(category, strict, excludeDeprecated); in GetAllTypes()
449 ObjectCategoryBits category, bool strict) const in GetObjectInstancesByCategory()
455 if (CheckCategoryBits(static_cast<ObjectCategoryBits>(i.second.category), category, strict)) { in GetObjectInstancesByCategory()
334 GetAllTypes( ObjectCategoryBits category, bool strict, bool excludeDeprecated) const GetAllTypes() argument
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/
H A Dintf_stack_property.h38 virtual BASE_NS::vector<IValue::Ptr> GetValues(const BASE_NS::array_view<const TypeId>& ids, bool strict) const = 0;
46 const BASE_NS::array_view<const TypeId>& ids, bool strict) const = 0;
/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dstack_property.h45 BASE_NS::vector<IValue::Ptr> GetValues(const BASE_NS::array_view<const TypeId>& ids, bool strict) const override;
51 const BASE_NS::array_view<const TypeId>& ids, bool strict) const override;
H A Dstack_property.cpp261 BASE_NS::vector<IValue::Ptr> StackProperty::GetValues(const BASE_NS::array_view<const TypeId>& ids, bool strict) const in GetValues()
265 if (CheckInterfaces(interface_pointer_cast<CORE_NS::IInterface>(v), ids, strict)) { in GetValues()
316 const BASE_NS::array_view<const TypeId>& ids, bool strict) const
320 if (CheckInterfaces(interface_pointer_cast<CORE_NS::IInterface>(m), ids, strict)) {
/foundation/ability/idl_tool/
H A DMakefile19 export CXXFLAGS = -std=c++14 -O2 -Wall -fno-common -fno-strict-aliasing -s
/foundation/ability/idl_tool/idl_tool_2/
H A DMakefile25 export CXXFLAGS = -std=c++14 -O2 -Wall -fno-common -fno-strict-aliasing -s
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_class_registry.h60 * @param strict If true, the class must implement all listed interfaces. If false, it is enough if
64 const BASE_NS::vector<BASE_NS::Uid>& interfaceUids, bool strict, bool excludeDeprecated) const = 0;
66 * @brief A helper for GetAllTypes(interfaceUids, strict) which always defines strict=true.
H A Dintf_attach.h113 * @param strict If true, the attachments added to the list must implement all of the given interfaces.
118 virtual BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) const = 0;
H A Dintf_attachment_container.h107 virtual BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) = 0;
H A Dintf_object_registry.h198 * @param strict If true, all of the given category bits much be set for a type to be returned
203 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const = 0;
253 * @param strict If true, all of the given category bits much be set for a type to be returned
258 ObjectCategoryBits category, bool strict) const = 0;
H A Dintf_container.h96 bool strict { false };
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_event_hub.cpp160 int32_t ListEventHub::GetListItemIndexByPosition(float x, float y, bool strict) in GetListItemIndexByPosition() argument
165 if (strict) { in GetListItemIndexByPosition()
H A Dlist_event_hub.h195 int32_t GetListItemIndexByPosition(float x, float y, bool strict = false);
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dobject.h486 BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) const override
488 return META_EXT_CALL_BASE(IAttach, GetAttachments(uids, strict));
/foundation/graphic/graphic_3d/lume/metaobject/src/container/
H A Dcontainer_base.cpp84 if (CheckInterfaces(obj, options.uids, options.strict)) { in FindAllImpl()
129 CheckInterfaces(object, options.uids, options.strict); in MatchCriteria()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/internal/
H A Dobject_api.h436 BASE_NS::vector<META_NS::IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids = {}, bool strict = false) in GetAttachments()
438 return META_API_CACHED_INTERFACE(Attach)->GetAttachments(uids, strict);

Completed in 12 milliseconds