COIN-OR::LEMON - Graph Library

Changeset 1744:51d5d41e15b1 in lemon-0.x for lemon/bits


Ignore:
Timestamp:
10/26/05 13:09:29 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2272
Message:

Removing old input/output functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/item_reader.h

    r1435 r1744  
    246246  /// \brief Reader for parsed string.
    247247  ///
    248   /// Reader for parsed strings. You can give the open and close
    249   /// parse characters.
     248  /// Reader for parsed strings. You can define the open and close
     249  /// parse characters. It reads from the input a character sequence
     250  /// which is right parsed.
    250251  ///
    251252  /// \author Balazs Dezso
     
    358359        ParsedStringReader().read(is, value);
    359360        break;
     361      case '[':
     362        ParsedStringReader('[', ']').read(is, value);
     363        break;
     364      case '/':
     365        ParsedStringReader('/', '/').read(is, value);
     366        break;
    360367      default:
    361         is >> value;
     368        if (!(is >> value))
     369          throw DataFormatError("DefaultReader format error");
    362370        break;
    363371      }
Note: See TracChangeset for help on using the changeset viewer.