Lines Matching defs:child
51 for (const auto& child : children_) {
52 if (child == object) {
53 return true; // Already a child of ours
118 bool Container::Replace(const META_NS::IObject::Ptr& child, const META_NS::IObject::Ptr& replaceWith, bool addAlways)
134 // Check if 'child' and 'replaceWith' can already be found from the container
136 if (*it == child) {
151 // 'child' and 'replaceWith' are the same item (which is already in the container)
155 // 'child' was found
166 // 'replaceWith' == null, remove 'child'
174 // 'child' was not found in container but addAlways is specified with a valid new item which
227 // The object is already a child of the new parent container