lemon/lgf_writer.h
changeset 589 2ca0cdb5f366
parent 550 c5fd2d996909
child 591 f63e87b9748e
equal deleted inserted replaced
29:be8e24d99bf3 30:661393446e70
   536 
   536 
   537     DigraphWriter& operator=(const DigraphWriter&);
   537     DigraphWriter& operator=(const DigraphWriter&);
   538 
   538 
   539   public:
   539   public:
   540 
   540 
   541     /// \name Writing rules
   541     /// \name Writing Rules
   542     /// @{
   542     /// @{
   543 
   543 
   544     /// \brief Node map writing rule
   544     /// \brief Node map writing rule
   545     ///
   545     ///
   546     /// Add a node map writing rule to the writer.
   546     /// Add a node map writing rule to the writer.
   639         new _writer_bits::ValueStorage<Arc, Converter>(arc, converter);
   639         new _writer_bits::ValueStorage<Arc, Converter>(arc, converter);
   640       _attributes.push_back(std::make_pair(caption, storage));
   640       _attributes.push_back(std::make_pair(caption, storage));
   641       return *this;
   641       return *this;
   642     }
   642     }
   643 
   643 
   644     /// \name Section captions
   644     /// \name Section Captions
   645     /// @{
   645     /// @{
   646 
   646 
   647     /// \brief Add an additional caption to the \c \@nodes section
   647     /// \brief Add an additional caption to the \c \@nodes section
   648     ///
   648     ///
   649     /// Add an additional caption to the \c \@nodes section.
   649     /// Add an additional caption to the \c \@nodes section.
   666     DigraphWriter& attributes(const std::string& caption) {
   666     DigraphWriter& attributes(const std::string& caption) {
   667       _attributes_caption = caption;
   667       _attributes_caption = caption;
   668       return *this;
   668       return *this;
   669     }
   669     }
   670 
   670 
   671     /// \name Skipping section
   671     /// \name Skipping Section
   672     /// @{
   672     /// @{
   673 
   673 
   674     /// \brief Skip writing the node set
   674     /// \brief Skip writing the node set
   675     ///
   675     ///
   676     /// The \c \@nodes section will not be written to the stream.
   676     /// The \c \@nodes section will not be written to the stream.
   883       }
   883       }
   884     }
   884     }
   885 
   885 
   886   public:
   886   public:
   887 
   887 
   888     /// \name Execution of the writer
   888     /// \name Execution of the Writer
   889     /// @{
   889     /// @{
   890 
   890 
   891     /// \brief Start the batch processing
   891     /// \brief Start the batch processing
   892     ///
   892     ///
   893     /// This function starts the batch processing.
   893     /// This function starts the batch processing.
  1104 
  1104 
  1105     GraphWriter& operator=(const GraphWriter&);
  1105     GraphWriter& operator=(const GraphWriter&);
  1106 
  1106 
  1107   public:
  1107   public:
  1108 
  1108 
  1109     /// \name Writing rules
  1109     /// \name Writing Rules
  1110     /// @{
  1110     /// @{
  1111 
  1111 
  1112     /// \brief Node map writing rule
  1112     /// \brief Node map writing rule
  1113     ///
  1113     ///
  1114     /// Add a node map writing rule to the writer.
  1114     /// Add a node map writing rule to the writer.
  1253         new _writer_bits::ValueStorage<Arc, Converter>(arc, converter);
  1253         new _writer_bits::ValueStorage<Arc, Converter>(arc, converter);
  1254       _attributes.push_back(std::make_pair(caption, storage));
  1254       _attributes.push_back(std::make_pair(caption, storage));
  1255       return *this;
  1255       return *this;
  1256     }
  1256     }
  1257 
  1257 
  1258     /// \name Section captions
  1258     /// \name Section Captions
  1259     /// @{
  1259     /// @{
  1260 
  1260 
  1261     /// \brief Add an additional caption to the \c \@nodes section
  1261     /// \brief Add an additional caption to the \c \@nodes section
  1262     ///
  1262     ///
  1263     /// Add an additional caption to the \c \@nodes section.
  1263     /// Add an additional caption to the \c \@nodes section.
  1280     GraphWriter& attributes(const std::string& caption) {
  1280     GraphWriter& attributes(const std::string& caption) {
  1281       _attributes_caption = caption;
  1281       _attributes_caption = caption;
  1282       return *this;
  1282       return *this;
  1283     }
  1283     }
  1284 
  1284 
  1285     /// \name Skipping section
  1285     /// \name Skipping Section
  1286     /// @{
  1286     /// @{
  1287 
  1287 
  1288     /// \brief Skip writing the node set
  1288     /// \brief Skip writing the node set
  1289     ///
  1289     ///
  1290     /// The \c \@nodes section will not be written to the stream.
  1290     /// The \c \@nodes section will not be written to the stream.
  1497       }
  1497       }
  1498     }
  1498     }
  1499 
  1499 
  1500   public:
  1500   public:
  1501 
  1501 
  1502     /// \name Execution of the writer
  1502     /// \name Execution of the Writer
  1503     /// @{
  1503     /// @{
  1504 
  1504 
  1505     /// \brief Start the batch processing
  1505     /// \brief Start the batch processing
  1506     ///
  1506     ///
  1507     /// This function starts the batch processing.
  1507     /// This function starts the batch processing.
  1649 
  1649 
  1650     SectionWriter& operator=(const SectionWriter&);
  1650     SectionWriter& operator=(const SectionWriter&);
  1651 
  1651 
  1652   public:
  1652   public:
  1653 
  1653 
  1654     /// \name Section writers
  1654     /// \name Section Writers
  1655     /// @{
  1655     /// @{
  1656 
  1656 
  1657     /// \brief Add a section writer with line oriented writing
  1657     /// \brief Add a section writer with line oriented writing
  1658     ///
  1658     ///
  1659     /// The first parameter is the type descriptor of the section, the
  1659     /// The first parameter is the type descriptor of the section, the
  1716     /// @}
  1716     /// @}
  1717 
  1717 
  1718   public:
  1718   public:
  1719 
  1719 
  1720 
  1720 
  1721     /// \name Execution of the writer
  1721     /// \name Execution of the Writer
  1722     /// @{
  1722     /// @{
  1723 
  1723 
  1724     /// \brief Start the batch processing
  1724     /// \brief Start the batch processing
  1725     ///
  1725     ///
  1726     /// This function starts the batch processing.
  1726     /// This function starts the batch processing.