COIN-OR::LEMON - Graph Library

Changeset 1188:7e529047df1a in lemon-0.x


Ignore:
Timestamp:
03/04/05 18:11:54 (16 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1600
Message:

Fix documentation.
Temporarly removing the exception handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/graph_writer.h

    r1164 r1188  
    4848      typedef _Value Value;
    4949
    50       /// \brief Writes a value from the given stream.
     50      /// \brief Writes a value to the given stream.
    5151      ///
    52       /// Writes a value from the given stream.
     52      /// Writes a value to the given stream.
    5353      void write(std::ostream& os, const Value& value) {
    5454        os << value << '\t';
     
    7373    QuotedStringWriter(bool _escaped = true) : escaped(_escaped) {}
    7474
    75     /// \brief Writes a quoted string from the given stream.
    76     ///
    77     /// Writes a quoted string from the given stream.
     75    /// \brief Writes a quoted string to the given stream.
     76    ///
     77    /// Writes a quoted string to the given stream.
    7878    void write(std::ostream& os, const std::string& value) {
    7979      os << "\"";
     
    275275      if (edge_map_writers.size() == 0) return;
    276276      if (node_map_writers.size() == 0) {
    277         throw Exception() << "Missing node id map";
     277        //      ErrorMessage message;
     278        //      message << "Missing node id map";
     279        //      throw IOLogicError(message);
    278280      }
    279281      os << "@edgeset" << std::endl;
     
    296298      if (node_writers.size() == 0) return;
    297299      if (node_map_writers.size() == 0) {
    298         throw Exception() << "Missing node id map";
     300        //      throw Exception() << "Missing node id map";
    299301      }
    300302      os << "@nodes" << std::endl;
     
    309311      if (edge_writers.size() == 0) return;
    310312      if (edge_map_writers.size() == 0) {
    311         throw Exception() << "Missing edge id map";
     313        //      throw Exception() << "Missing edge id map";
    312314      }
    313315      os << "@edges" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.