Lines Matching defs:object
46 bool AttachmentContainer::Add(const IObject::Ptr& object)
48 return Attach(N_POS, object, {});
51 bool AttachmentContainer::Insert(IContainer::SizeType index, const IObject::Ptr& object)
53 return Attach(index, object, {});
103 const auto object = interface_pointer_cast<IObject>(attachment);
104 if (!object) {
124 result = ObjectContainerFwd::Insert(pos, object);
152 if (auto object = info.object) {
155 if (it->first == object.get()) {
161 if (auto attachment = interface_pointer_cast<IAttachment>(info.object)) {
178 if (auto attachment = interface_pointer_cast<IAttachment>(info.object)) {
193 for (const auto& object : all) {
194 if (auto att = interface_cast<IAttachment>(object)) {
207 bool AttachmentContainer::AlreadyAttached(const IObject::Ptr& object)
209 if (const auto attachment = interface_pointer_cast<IAttachment>(object)) {
219 return META_NS::ContainsObject(GetSelf<IContainer>(), object);