MCPcopy Create free account
hub / github.com/cc20110101/RedisView / removeChildren

Method removeChildren

src/RedisView/Model/ValueTableItem.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool ValueTableItem::removeChildren(int position)
100{
101 if (position < 0 || position >= childItems.size())
102 return false;
103
104 delete childItems.takeAt(position);
105
106 return true;
107}
108
109bool ValueTableItem::removeItem(ValueTableItem *item) {
110 if(childItems.removeOne(item)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected