return analysis_path;
}
+void Mussa::set_analysis_path(boost::filesystem::path pathname)
+{
+ analysis_path = pathname;
+}
+
// set all parameters to null state
void
Mussa::clear()
dirty = true;
}
-string Mussa::get_name()
+string Mussa::get_name() const
{
return analysis_name;
}
+string Mussa::get_title() const
+{
+ fs::path analysis_path = get_analysis_path();
+ if (not analysis_path.empty()) {
+ return analysis_path.native_file_string();
+ } else if (get_name().size() > 0) {
+ return get_name();
+ } else {
+ return std::string("Unnamed");
+ }
+}
+
int
Mussa::size() const
{