Implement method View::addChild and View::removeChild at C++ side.