-/*
-This file is part of libmspparser
-Copyright © 2006 Mikko Rasa, Mikkosoft Productions
+/* $Id$
+
+This file is part of libmspdatafile
+Copyright © 2006 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
-#ifndef MSP_PARSER_INPUT_H_
-#define MSP_PARSER_INPUT_H_
+#ifndef MSP_DATAFILE_INPUT_H_
+#define MSP_DATAFILE_INPUT_H_
#include <istream>
namespace Msp {
-namespace Parser {
+namespace DataFile {
class Input
{
int get();
int peek();
unsigned get_line_number() const { return line; }
- operator bool() const { return (bool)in; }
+ operator bool() const { return in; }
private:
std::istream ∈
unsigned line;
int next;
};
-} // namespace Parser
+} // namespace DataFile
} // namespace Msp
#endif