lemon/lemon_writer.h
changeset 2457 8c791ee69a45
parent 2391 14a343be7a5a
child 2467 2025a571895e
equal deleted inserted replaced
20:448642b9c611 21:7116138bd85c
  1364     /// Add an attribute writer command for the writer.
  1364     /// Add an attribute writer command for the writer.
  1365     template <typename Value>
  1365     template <typename Value>
  1366     AttributeWriter& writeAttribute(std::string label, 
  1366     AttributeWriter& writeAttribute(std::string label, 
  1367 				    const Value& value) {
  1367 				    const Value& value) {
  1368       return 
  1368       return 
  1369 	writeAttribute<typename Traits::template Writer<Value> >(name, value);
  1369 	writeAttribute<typename Traits::template Writer<Value> >(label, value);
  1370     }
  1370     }
  1371 
  1371 
  1372     /// \brief Add an attribute writer command for the writer.
  1372     /// \brief Add an attribute writer command for the writer.
  1373     ///
  1373     ///
  1374     /// Add an attribute writer command for the writer.
  1374     /// Add an attribute writer command for the writer.