// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include #include #include "taintable.h" #include namespace vbench { using Input = vespalib::Input; using Output = vespalib::Output; /** * A Stream is an abstract taintable entity that can act as both input * and output. **/ struct Stream : public Input, public Output, public Taintable { ~Stream() { } typedef std::unique_ptr UP; virtual bool eof() const = 0; }; } // namespace vbench