lemon/lemon_reader.h
changeset 2084 59769591eb60
parent 2016 ecb067198349
child 2100 6fbe90faf02a
     1.1 --- a/lemon/lemon_reader.h	Mon May 15 09:46:33 2006 +0000
     1.2 +++ b/lemon/lemon_reader.h	Mon May 15 09:49:51 2006 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4   *
     1.5   */
     1.6  
     1.7 -///\ingroup io_group
     1.8 +///\ingroup lemon_io
     1.9  ///\file
    1.10  ///\brief Lemon Format reader.
    1.11  
    1.12 @@ -456,7 +456,7 @@
    1.13  
    1.14    }
    1.15  
    1.16 -  /// \ingroup io_group
    1.17 +  /// \ingroup lemon_io
    1.18    /// \brief Lemon Format reader class.
    1.19    /// 
    1.20    /// The Lemon Format contains several sections. We do not want to
    1.21 @@ -523,9 +523,9 @@
    1.22  
    1.23        char_type* eptr() { return _eptr; }
    1.24  
    1.25 -      int blen() { return _eptr - _base; }
    1.26 +      int_type blen() { return _eptr - _base; }
    1.27  
    1.28 -      void setb(char_type* buf, int len) {
    1.29 +      void setb(char_type* buf, int_type len) {
    1.30  	_base = buf;
    1.31  	_eptr = buf + len;
    1.32        }
    1.33 @@ -581,7 +581,7 @@
    1.34  	return false;
    1.35        }
    1.36  
    1.37 -      virtual int underflow() {
    1.38 +      virtual int_type underflow() {
    1.39  	char c;
    1.40  	if (_is.read(&c, 1)) {
    1.41  	  _is.putback(c);
    1.42 @@ -612,7 +612,7 @@
    1.43  	return *base();
    1.44        }
    1.45  
    1.46 -      virtual int sync() {
    1.47 +      virtual int_type sync() {
    1.48  	return EOF;
    1.49        }
    1.50      };