Program Listing for File text_stream.hpp
↰ Return to documentation for file (include/ecl/streams/text_stream.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef ECL_STREAMS_TEXT_STREAM_HPP_
#define ECL_STREAMS_TEXT_STREAM_HPP_
/*****************************************************************************
** Includes
*****************************************************************************/
#include <ecl/config/macros.hpp>
#include <ecl/devices/traits.hpp>
#include "text_streams/base_text_stream.hpp"
#include "text_streams/output_text_stream.hpp"
#include "text_streams/input_text_stream.hpp"
#include "macros.hpp"
/*****************************************************************************
** Namespaces
*****************************************************************************/
namespace ecl {
/*****************************************************************************
** Interface [TextStream]
*****************************************************************************/
template <typename Device>
class ECL_PUBLIC TextStream : public interfaces::InputTextStream<Device, is_source<Device>::value >,
public interfaces::OutputTextStream<Device, is_sink<Device>::value > {
public:
virtual ~TextStream() {};
};
} // namespace ecl
#endif /* ECL_STREAMS_TEXT_STREAM_HPP_ */