X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Finput.h;h=e5748662d5a899b9f5b4b6201c69687c084da401;hp=ad921ec62963883da68a66092b740b7256553187;hb=215e719d0ef85f748898660d15d01e77ac551de9;hpb=a582163d380833b1370ba067a1fd0ad5c2984723 diff --git a/source/input.h b/source/input.h index ad921ec..e574866 100644 --- a/source/input.h +++ b/source/input.h @@ -14,16 +14,18 @@ namespace DataFile { class Input { +private: + IO::Base ∈ + unsigned line; + int next; + public: Input(IO::Base &); + int get(); int peek(); unsigned get_line_number() const { return line; } operator bool() const; -private: - IO::Base ∈ - unsigned line; - int next; }; } // namespace DataFile