Add input_stream::path() method to retrieve the original path
This commit is contained in:
parent
208c177164
commit
d313c8dfb3
1 changed files with 5 additions and 0 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Reference in a new issue