lemon/lgf_reader.h
changeset 657 bf7928412136
parent 598 a3402913cffe
parent 584 33c6b6e755cd
child 786 e20173729589
child 937 17e36e175725
equal deleted inserted replaced
40:1494eb941bbe 41:7e811f9a8501
   590 
   590 
   591     DigraphReader& operator=(const DigraphReader&);
   591     DigraphReader& operator=(const DigraphReader&);
   592 
   592 
   593   public:
   593   public:
   594 
   594 
   595     /// \name Reading rules
   595     /// \name Reading Rules
   596     /// @{
   596     /// @{
   597 
   597 
   598     /// \brief Node map reading rule
   598     /// \brief Node map reading rule
   599     ///
   599     ///
   600     /// Add a node map reading rule to the reader.
   600     /// Add a node map reading rule to the reader.
   695       return *this;
   695       return *this;
   696     }
   696     }
   697 
   697 
   698     /// @}
   698     /// @}
   699 
   699 
   700     /// \name Select section by name
   700     /// \name Select Section by Name
   701     /// @{
   701     /// @{
   702 
   702 
   703     /// \brief Set \c \@nodes section to be read
   703     /// \brief Set \c \@nodes section to be read
   704     ///
   704     ///
   705     /// Set \c \@nodes section to be read
   705     /// Set \c \@nodes section to be read
   724       return *this;
   724       return *this;
   725     }
   725     }
   726 
   726 
   727     /// @}
   727     /// @}
   728 
   728 
   729     /// \name Using previously constructed node or arc set
   729     /// \name Using Previously Constructed Node or Arc Set
   730     /// @{
   730     /// @{
   731 
   731 
   732     /// \brief Use previously constructed node set
   732     /// \brief Use previously constructed node set
   733     ///
   733     ///
   734     /// Use previously constructed node set, and specify the node
   734     /// Use previously constructed node set, and specify the node
  1113       }
  1113       }
  1114     }
  1114     }
  1115 
  1115 
  1116   public:
  1116   public:
  1117 
  1117 
  1118     /// \name Execution of the reader
  1118     /// \name Execution of the Reader
  1119     /// @{
  1119     /// @{
  1120 
  1120 
  1121     /// \brief Start the batch processing
  1121     /// \brief Start the batch processing
  1122     ///
  1122     ///
  1123     /// This function starts the batch processing
  1123     /// This function starts the batch processing
  1413 
  1413 
  1414     GraphReader& operator=(const GraphReader&);
  1414     GraphReader& operator=(const GraphReader&);
  1415 
  1415 
  1416   public:
  1416   public:
  1417 
  1417 
  1418     /// \name Reading rules
  1418     /// \name Reading Rules
  1419     /// @{
  1419     /// @{
  1420 
  1420 
  1421     /// \brief Node map reading rule
  1421     /// \brief Node map reading rule
  1422     ///
  1422     ///
  1423     /// Add a node map reading rule to the reader.
  1423     /// Add a node map reading rule to the reader.
  1564       return *this;
  1564       return *this;
  1565     }
  1565     }
  1566 
  1566 
  1567     /// @}
  1567     /// @}
  1568 
  1568 
  1569     /// \name Select section by name
  1569     /// \name Select Section by Name
  1570     /// @{
  1570     /// @{
  1571 
  1571 
  1572     /// \brief Set \c \@nodes section to be read
  1572     /// \brief Set \c \@nodes section to be read
  1573     ///
  1573     ///
  1574     /// Set \c \@nodes section to be read.
  1574     /// Set \c \@nodes section to be read.
  1593       return *this;
  1593       return *this;
  1594     }
  1594     }
  1595 
  1595 
  1596     /// @}
  1596     /// @}
  1597 
  1597 
  1598     /// \name Using previously constructed node or edge set
  1598     /// \name Using Previously Constructed Node or Edge Set
  1599     /// @{
  1599     /// @{
  1600 
  1600 
  1601     /// \brief Use previously constructed node set
  1601     /// \brief Use previously constructed node set
  1602     ///
  1602     ///
  1603     /// Use previously constructed node set, and specify the node
  1603     /// Use previously constructed node set, and specify the node
  1983       }
  1983       }
  1984     }
  1984     }
  1985 
  1985 
  1986   public:
  1986   public:
  1987 
  1987 
  1988     /// \name Execution of the reader
  1988     /// \name Execution of the Reader
  1989     /// @{
  1989     /// @{
  1990 
  1990 
  1991     /// \brief Start the batch processing
  1991     /// \brief Start the batch processing
  1992     ///
  1992     ///
  1993     /// This function starts the batch processing
  1993     /// This function starts the batch processing
  2207 
  2207 
  2208     SectionReader& operator=(const SectionReader&);
  2208     SectionReader& operator=(const SectionReader&);
  2209 
  2209 
  2210   public:
  2210   public:
  2211 
  2211 
  2212     /// \name Section readers
  2212     /// \name Section Readers
  2213     /// @{
  2213     /// @{
  2214 
  2214 
  2215     /// \brief Add a section processor with line oriented reading
  2215     /// \brief Add a section processor with line oriented reading
  2216     ///
  2216     ///
  2217     /// The first parameter is the type descriptor of the section, the
  2217     /// The first parameter is the type descriptor of the section, the
  2306     }
  2306     }
  2307 
  2307 
  2308   public:
  2308   public:
  2309 
  2309 
  2310 
  2310 
  2311     /// \name Execution of the reader
  2311     /// \name Execution of the Reader
  2312     /// @{
  2312     /// @{
  2313 
  2313 
  2314     /// \brief Start the batch processing
  2314     /// \brief Start the batch processing
  2315     ///
  2315     ///
  2316     /// This function starts the batch processing.
  2316     /// This function starts the batch processing.
  2498     LgfContents& operator=(const LgfContents&);
  2498     LgfContents& operator=(const LgfContents&);
  2499 
  2499 
  2500   public:
  2500   public:
  2501 
  2501 
  2502 
  2502 
  2503     /// \name Node sections
  2503     /// \name Node Sections
  2504     /// @{
  2504     /// @{
  2505 
  2505 
  2506     /// \brief Gives back the number of node sections in the file.
  2506     /// \brief Gives back the number of node sections in the file.
  2507     ///
  2507     ///
  2508     /// Gives back the number of node sections in the file.
  2508     /// Gives back the number of node sections in the file.
  2524       return _node_maps[i];
  2524       return _node_maps[i];
  2525     }
  2525     }
  2526 
  2526 
  2527     /// @}
  2527     /// @}
  2528 
  2528 
  2529     /// \name Arc/Edge sections
  2529     /// \name Arc/Edge Sections
  2530     /// @{
  2530     /// @{
  2531 
  2531 
  2532     /// \brief Gives back the number of arc/edge sections in the file.
  2532     /// \brief Gives back the number of arc/edge sections in the file.
  2533     ///
  2533     ///
  2534     /// Gives back the number of arc/edge sections in the file.
  2534     /// Gives back the number of arc/edge sections in the file.
  2582       return _edge_maps[i];
  2582       return _edge_maps[i];
  2583     }
  2583     }
  2584 
  2584 
  2585     /// @}
  2585     /// @}
  2586 
  2586 
  2587     /// \name Attribute sections
  2587     /// \name Attribute Sections
  2588     /// @{
  2588     /// @{
  2589 
  2589 
  2590     /// \brief Gives back the number of attribute sections in the file.
  2590     /// \brief Gives back the number of attribute sections in the file.
  2591     ///
  2591     ///
  2592     /// Gives back the number of attribute sections in the file.
  2592     /// Gives back the number of attribute sections in the file.
  2608       return _attributes[i];
  2608       return _attributes[i];
  2609     }
  2609     }
  2610 
  2610 
  2611     /// @}
  2611     /// @}
  2612 
  2612 
  2613     /// \name Extra sections
  2613     /// \name Extra Sections
  2614     /// @{
  2614     /// @{
  2615 
  2615 
  2616     /// \brief Gives back the number of extra sections in the file.
  2616     /// \brief Gives back the number of extra sections in the file.
  2617     ///
  2617     ///
  2618     /// Gives back the number of extra sections in the file.
  2618     /// Gives back the number of extra sections in the file.
  2684       line.putback(c);
  2684       line.putback(c);
  2685     }
  2685     }
  2686 
  2686 
  2687   public:
  2687   public:
  2688 
  2688 
  2689     /// \name Execution of the contents reader
  2689     /// \name Execution of the Contents Reader
  2690     /// @{
  2690     /// @{
  2691 
  2691 
  2692     /// \brief Starts the reading
  2692     /// \brief Starts the reading
  2693     ///
  2693     ///
  2694     /// This function starts the reading.
  2694     /// This function starts the reading.