Commit 569c94a8 authored by Philipp Götze's avatar Philipp Götze
Browse files

Got rid of some unnecessary includes and moved TString definition

parent 98ffd2a1
......@@ -21,9 +21,13 @@
#define BaseOp_hpp_
#include <string>
#include "core/Tuple.hpp"
namespace pfabric {
using TString = Tuple<StringRef>; ///< a tuple containing a line of text
using TStringPtr = TuplePtr<StringRef>; ///< a tuple pointer
/**
* @brief BaseOp represents a common base class for all parameterizable query operators.
*
......
......@@ -22,7 +22,6 @@
#include "qop/DataSink.hpp"
#include "qop/OperatorMacros.hpp"
#include "fmt/format.h"
#include <iostream>
#include <boost/core/ignore_unused.hpp>
......
......@@ -20,10 +20,10 @@
#ifndef DataSource_hpp_
#define DataSource_hpp_
#include "qop/BaseOp.hpp"
#include "core/StreamElementTraits.hpp"
#include "pubsub/Source.hpp"
#include "qop/BaseOp.hpp"
#include "pubsub/signals/DefaultSourceSignal.hpp"
#include "pubsub/Source.hpp"
namespace pfabric {
......
......@@ -17,9 +17,7 @@
* along with PipeFabric. If not, see <http://www.gnu.org/licenses/>.
*/
#include "SimpleWeb/server_http.hpp"
#include "RESTSource.hpp"
#include "core/Tuple.hpp"
using namespace pfabric;
......
......@@ -20,18 +20,12 @@
#ifndef RESTSource_hpp_
#define RESTSource_hpp_
#include <iostream>
#include <fstream>
#include <memory>
#include <mutex>
#include "core/Punctuation.hpp"
#include "core/Tuple.hpp"
#include "qop/DataSource.hpp"
#include "pubsub/channels/ConnectChannels.hpp"
#include "qop/BaseOp.hpp"
#include "qop/DataSource.hpp"
#include "qop/OperatorMacros.hpp"
#include "qop/TextFileSource.hpp"
#include "SimpleWeb/server_http.hpp"
namespace pfabric {
......
......@@ -33,9 +33,6 @@
namespace pfabric {
typedef Tuple<StringRef> TString; //< a tuple containing a line of text
typedef TuplePtr<StringRef> TStringPtr; //< tuple pointer
/**
* @brief TextFileSource is a source operator for reading a text file line by
* line and producing a stream of tuples.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment