Lines Matching defs:container
77 if (const auto container = interface_cast<IContainer>(attachments_)) {
78 return container->GetSize() > 0;
98 CORE_LOG_E("Failed to create container for attachments");
103 bool CheckRequiredInterfaces(const IContainer::Ptr& container, const BASE_NS::vector<BASE_NS::Uid>& uids)
108 if (auto req = interface_cast<IRequiredInterfaces>(container)) {
122 // If container is valid but it does not implement IRequiredInterfaces, anything goes
123 return container.operator bool();
131 const auto addIfMatches = [&containers, &uids](const IContainer::Ptr& container) {
132 if (container) {
133 if (CheckRequiredInterfaces(container, uids)) {
134 containers.push_back(container);
139 // This object is itself a container
144 // Check the attachment container
154 // No attachments, but the user has requested IAttachment so we need to create the container