/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | interface_utils.h | 77 * @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 D | class_registry.h | 31 /** 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 D | class_registry.cpp | 85 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 D | object.cpp | 68 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 D | attachment_container.cpp | 184 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 D | object.h | 53 BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) const override;
|
H A D | attachment_container.h | 65 BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) override;
|
H A D | object_registry.h | 68 ObjectCategoryBits category, bool strict, bool excludeDeprecated) const override; 73 BASE_NS::vector<IObject::Ptr> GetObjectInstancesByCategory(ObjectCategoryBits category, bool strict) const override;
|
H A D | object_registry.cpp | 335 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 D | intf_stack_property.h | 38 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 D | stack_property.h | 45 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 D | stack_property.cpp | 261 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 D | Makefile | 19 export CXXFLAGS = -std=c++14 -O2 -Wall -fno-common -fno-strict-aliasing -s
|
/foundation/ability/idl_tool/idl_tool_2/ |
H A D | Makefile | 25 export CXXFLAGS = -std=c++14 -O2 -Wall -fno-common -fno-strict-aliasing -s
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_class_registry.h | 60 * @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 D | intf_attach.h | 113 * @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 D | intf_attachment_container.h | 107 virtual BASE_NS::vector<IObject::Ptr> GetAttachments(const BASE_NS::vector<TypeId>& uids, bool strict) = 0;
|
H A D | intf_object_registry.h | 198 * @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 D | intf_container.h | 96 bool strict { false };
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_event_hub.cpp | 160 int32_t ListEventHub::GetListItemIndexByPosition(float x, float y, bool strict) in GetListItemIndexByPosition() argument 165 if (strict) { in GetListItemIndexByPosition()
|
H A D | list_event_hub.h | 195 int32_t GetListItemIndexByPosition(float x, float y, bool strict = false);
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/ |
H A D | object.h | 486 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 D | container_base.cpp | 84 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 D | object_api.h | 436 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);
|