* \return true if the selection status changes.
*/
bool setSelected(bool);
+ /** If true, the branch name will be appended
+ * to the output file name.
+ */
+ bool hasFilenameSuffix() const;
+ /// Select/deselect filename suffix property.
+ void setFilenameSuffix(bool);
///
RGBColor const & color() const;
///
///
bool selected_;
///
+ bool filenameSuffix_;
+ ///
RGBColor color_;
};
* \returns true if a branch is removed.
*/
bool remove(docstring const &);
+ /** rename an branch in list
+ * \returns true if renaming succeeded.
+ * if \p merge is true, the branch will be removed
+ * if a branch with the newname already exists.
+ */
+ bool rename(docstring const &, docstring const &, bool const merge = false);
+ /// get the complete filename suffix
+ docstring getFilenameSuffix() const;
private:
///