lemon/lgf_reader.h
changeset 597 2ca0cdb5f366
parent 559 c5fd2d996909
child 599 f63e87b9748e
equal deleted inserted replaced
38:34a24b388d5b 39:a39771f7f430
   591 
   591 
   592     DigraphReader& operator=(const DigraphReader&);
   592     DigraphReader& operator=(const DigraphReader&);
   593 
   593 
   594   public:
   594   public:
   595 
   595 
   596     /// \name Reading rules
   596     /// \name Reading Rules
   597     /// @{
   597     /// @{
   598 
   598 
   599     /// \brief Node map reading rule
   599     /// \brief Node map reading rule
   600     ///
   600     ///
   601     /// Add a node map reading rule to the reader.
   601     /// Add a node map reading rule to the reader.
   696       return *this;
   696       return *this;
   697     }
   697     }
   698 
   698 
   699     /// @}
   699     /// @}
   700 
   700 
   701     /// \name Select section by name
   701     /// \name Select Section by Name
   702     /// @{
   702     /// @{
   703 
   703 
   704     /// \brief Set \c \@nodes section to be read
   704     /// \brief Set \c \@nodes section to be read
   705     ///
   705     ///
   706     /// Set \c \@nodes section to be read
   706     /// Set \c \@nodes section to be read
   725       return *this;
   725       return *this;
   726     }
   726     }
   727 
   727 
   728     /// @}
   728     /// @}
   729 
   729 
   730     /// \name Using previously constructed node or arc set
   730     /// \name Using Previously Constructed Node or Arc Set
   731     /// @{
   731     /// @{
   732 
   732 
   733     /// \brief Use previously constructed node set
   733     /// \brief Use previously constructed node set
   734     ///
   734     ///
   735     /// Use previously constructed node set, and specify the node
   735     /// Use previously constructed node set, and specify the node
  1114       }
  1114       }
  1115     }
  1115     }
  1116 
  1116 
  1117   public:
  1117   public:
  1118 
  1118 
  1119     /// \name Execution of the reader
  1119     /// \name Execution of the Reader
  1120     /// @{
  1120     /// @{
  1121 
  1121 
  1122     /// \brief Start the batch processing
  1122     /// \brief Start the batch processing
  1123     ///
  1123     ///
  1124     /// This function starts the batch processing
  1124     /// This function starts the batch processing
  1387 
  1387 
  1388     GraphReader& operator=(const GraphReader&);
  1388     GraphReader& operator=(const GraphReader&);
  1389 
  1389 
  1390   public:
  1390   public:
  1391 
  1391 
  1392     /// \name Reading rules
  1392     /// \name Reading Rules
  1393     /// @{
  1393     /// @{
  1394 
  1394 
  1395     /// \brief Node map reading rule
  1395     /// \brief Node map reading rule
  1396     ///
  1396     ///
  1397     /// Add a node map reading rule to the reader.
  1397     /// Add a node map reading rule to the reader.
  1538       return *this;
  1538       return *this;
  1539     }
  1539     }
  1540 
  1540 
  1541     /// @}
  1541     /// @}
  1542 
  1542 
  1543     /// \name Select section by name
  1543     /// \name Select Section by Name
  1544     /// @{
  1544     /// @{
  1545 
  1545 
  1546     /// \brief Set \c \@nodes section to be read
  1546     /// \brief Set \c \@nodes section to be read
  1547     ///
  1547     ///
  1548     /// Set \c \@nodes section to be read.
  1548     /// Set \c \@nodes section to be read.
  1567       return *this;
  1567       return *this;
  1568     }
  1568     }
  1569 
  1569 
  1570     /// @}
  1570     /// @}
  1571 
  1571 
  1572     /// \name Using previously constructed node or edge set
  1572     /// \name Using Previously Constructed Node or Edge Set
  1573     /// @{
  1573     /// @{
  1574 
  1574 
  1575     /// \brief Use previously constructed node set
  1575     /// \brief Use previously constructed node set
  1576     ///
  1576     ///
  1577     /// Use previously constructed node set, and specify the node
  1577     /// Use previously constructed node set, and specify the node
  1957       }
  1957       }
  1958     }
  1958     }
  1959 
  1959 
  1960   public:
  1960   public:
  1961 
  1961 
  1962     /// \name Execution of the reader
  1962     /// \name Execution of the Reader
  1963     /// @{
  1963     /// @{
  1964 
  1964 
  1965     /// \brief Start the batch processing
  1965     /// \brief Start the batch processing
  1966     ///
  1966     ///
  1967     /// This function starts the batch processing
  1967     /// This function starts the batch processing
  2156 
  2156 
  2157     SectionReader& operator=(const SectionReader&);
  2157     SectionReader& operator=(const SectionReader&);
  2158 
  2158 
  2159   public:
  2159   public:
  2160 
  2160 
  2161     /// \name Section readers
  2161     /// \name Section Readers
  2162     /// @{
  2162     /// @{
  2163 
  2163 
  2164     /// \brief Add a section processor with line oriented reading
  2164     /// \brief Add a section processor with line oriented reading
  2165     ///
  2165     ///
  2166     /// The first parameter is the type descriptor of the section, the
  2166     /// The first parameter is the type descriptor of the section, the
  2255     }
  2255     }
  2256 
  2256 
  2257   public:
  2257   public:
  2258 
  2258 
  2259 
  2259 
  2260     /// \name Execution of the reader
  2260     /// \name Execution of the Reader
  2261     /// @{
  2261     /// @{
  2262 
  2262 
  2263     /// \brief Start the batch processing
  2263     /// \brief Start the batch processing
  2264     ///
  2264     ///
  2265     /// This function starts the batch processing.
  2265     /// This function starts the batch processing.
  2437     LgfContents& operator=(const LgfContents&);
  2437     LgfContents& operator=(const LgfContents&);
  2438 
  2438 
  2439   public:
  2439   public:
  2440 
  2440 
  2441 
  2441 
  2442     /// \name Node sections
  2442     /// \name Node Sections
  2443     /// @{
  2443     /// @{
  2444 
  2444 
  2445     /// \brief Gives back the number of node sections in the file.
  2445     /// \brief Gives back the number of node sections in the file.
  2446     ///
  2446     ///
  2447     /// Gives back the number of node sections in the file.
  2447     /// Gives back the number of node sections in the file.
  2463       return _node_maps[i];
  2463       return _node_maps[i];
  2464     }
  2464     }
  2465 
  2465 
  2466     /// @}
  2466     /// @}
  2467 
  2467 
  2468     /// \name Arc/Edge sections
  2468     /// \name Arc/Edge Sections
  2469     /// @{
  2469     /// @{
  2470 
  2470 
  2471     /// \brief Gives back the number of arc/edge sections in the file.
  2471     /// \brief Gives back the number of arc/edge sections in the file.
  2472     ///
  2472     ///
  2473     /// Gives back the number of arc/edge sections in the file.
  2473     /// Gives back the number of arc/edge sections in the file.
  2521       return _edge_maps[i];
  2521       return _edge_maps[i];
  2522     }
  2522     }
  2523 
  2523 
  2524     /// @}
  2524     /// @}
  2525 
  2525 
  2526     /// \name Attribute sections
  2526     /// \name Attribute Sections
  2527     /// @{
  2527     /// @{
  2528 
  2528 
  2529     /// \brief Gives back the number of attribute sections in the file.
  2529     /// \brief Gives back the number of attribute sections in the file.
  2530     ///
  2530     ///
  2531     /// Gives back the number of attribute sections in the file.
  2531     /// Gives back the number of attribute sections in the file.
  2547       return _attributes[i];
  2547       return _attributes[i];
  2548     }
  2548     }
  2549 
  2549 
  2550     /// @}
  2550     /// @}
  2551 
  2551 
  2552     /// \name Extra sections
  2552     /// \name Extra Sections
  2553     /// @{
  2553     /// @{
  2554 
  2554 
  2555     /// \brief Gives back the number of extra sections in the file.
  2555     /// \brief Gives back the number of extra sections in the file.
  2556     ///
  2556     ///
  2557     /// Gives back the number of extra sections in the file.
  2557     /// Gives back the number of extra sections in the file.
  2623       line.putback(c);
  2623       line.putback(c);
  2624     }
  2624     }
  2625 
  2625 
  2626   public:
  2626   public:
  2627 
  2627 
  2628     /// \name Execution of the contents reader
  2628     /// \name Execution of the Contents Reader
  2629     /// @{
  2629     /// @{
  2630 
  2630 
  2631     /// \brief Starts the reading
  2631     /// \brief Starts the reading
  2632     ///
  2632     ///
  2633     /// This function starts the reading.
  2633     /// This function starts the reading.