Searched refs:replaceWith (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/container/ |
H A D | flat_container.cpp | 104 bool FlatContainer::Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool addAlw… in Replace() argument 111 if (replaceWith && !IsCompatible(replaceWith)) { in Replace() 122 if (removed == replaceWith) { in Replace() 125 if (replaceWith) { in Replace() 126 children_[index] = replaceWith; in Replace() 127 added = replaceWith; in Replace() 131 } else if (addAlways && replaceWith) { in Replace() 132 children_.push_back(replaceWith); in Replace() 133 added = replaceWith; in Replace()
|
H A D | container.cpp | 118 …place(const META_NS::IObject::Ptr& child, const META_NS::IObject::Ptr& replaceWith, bool addAlways) in Replace() argument 128 if (replaceWith && (!IsCompatible(replaceWith) || !CheckLoop(replaceWith))) { in Replace() 141 if (*it == replaceWith) { in Replace() 156 if (replaceWith) { in Replace() 157 *removedIt = replaceWith; in Replace() 163 added = replaceWith; in Replace() 173 if (!changed && addAlways && replaceWith && movedIt == children_.end()) { in Replace() 177 children_.push_back(replaceWith); in Replace() 178 added = replaceWith; in Replace()
|
H A D | flat_container.h | 28 …bool Replace(const META_NS::IObject::Ptr& child, const META_NS::IObject::Ptr& replaceWith, bool ad… in META_BEGIN_NAMESPACE()
|
H A D | container.h | 28 …bool Replace(const META_NS::IObject::Ptr& child, const META_NS::IObject::Ptr& replaceWith, bool ad… in META_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_container.h | 197 bool Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith) in Replace() argument 199 return Replace(child, replaceWith, false); in Replace() 214 …virtual bool Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool addAlways) =… 311 bool Replace(const T1& child, const T2& replaceWith, bool addAlways = false) 313 …e(interface_pointer_cast<IObject>(child), interface_pointer_cast<IObject>(replaceWith), addAlways);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | attachment_container.cpp | 66 bool AttachmentContainer::Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool … in Replace() argument 69 if (child && AlreadyAttached(replaceWith)) { in Replace() 72 return ObjectContainerFwd::Replace(child, replaceWith, addAlways); in Replace()
|
H A D | metadata.cpp | 285 bool MetadataPropertyContainer::Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith,… in Replace() argument 287 return impl_.Replace(child, replaceWith, addAlways); in Replace()
|
H A D | attachment_container.h | 52 … bool Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool addAlways) override; in META_BEGIN_NAMESPACE()
|
H A D | metadata.h | 98 … bool Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool addAlways) override; in META_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/ |
H A D | object_container.h | 88 … bool Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool addAlways) override in META_BEGIN_NAMESPACE() 90 return container_->Replace(child, replaceWith, addAlways); in META_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation.h | 280 … bool Replace(const IObject::Ptr& child, const IObject::Ptr& replaceWith, bool addAlways) override in META_BEGIN_NAMESPACE() 282 return GetContainer().Replace(child, replaceWith, addAlways); in META_BEGIN_NAMESPACE()
|