* @return The next token is returned, or an empty string if none remain
*/
virtual const std::string GetToken();
+
+ /** Returns true if the end of the stream has been reached
+ * @return True if the end of the stream has been reached, otherwise false
+ */
+ virtual bool StreamEnd();
};
/** A derived form of sepstream, which seperates on commas
*/
typedef basic_string<char, irc_char_traits, allocator<char> > string;
- const char* Spacify(char* n);
+ const char* Spacify(const char* n);
}
/* Define operators for using >> and << with irc::string to an ostream on an istream. */