#pragma once #include #include "FileReader.h" class LocalFileReader : FileReader { friend class FileReaderFactory; using FileReader::FileReader; public: virtual ~LocalFileReader(); protected: virtual void open(); public: virtual void close(); virtual const std::string read(); private: std::ifstream * file = nullptr; std::string * content = nullptr; };