Add input_stream::path() method to retrieve the original path

This commit is contained in:
Ignacio R. Morelle 2015-04-23 22:40:19 -03:00
parent 208c177164
commit d313c8dfb3

View file

@ -27,6 +27,11 @@ public:
bool read_line(std::string& str);
void stop();
const std::string& path() const
{
return path_;
}
private:
input_stream(const input_stream&);
void operator=(const input_stream&);