// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "table/merger.h" #include "leveldb/comparator.h" #include "leveldb/iterator.h" #include "table/iterator_wrapper.h" namespace leveldb { namespace { class MergingIterator : public Iterator { … }; void MergingIterator::FindSmallest() { … } void MergingIterator::FindLargest() { … } } // namespace Iterator* NewMergingIterator(const Comparator* comparator, Iterator** children, int n) { … } } // namespace leveldb