// 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 "leveldb/iterator.h" namespace leveldb { Iterator::Iterator() { … } Iterator::~Iterator() { … } void Iterator::RegisterCleanup(CleanupFunction func, void* arg1, void* arg2) { … } namespace { class EmptyIterator : public Iterator { … }; } // anonymous namespace Iterator* NewEmptyIterator() { … } Iterator* NewErrorIterator(const Status& status) { … } } // namespace leveldb