Skip to content
Snippets Groups Projects
Commit a7cac9e4 authored by w.klijn's avatar w.klijn
Browse files

Add good bit accessor

parent d23d7c53
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ public:
// Performs the export of the data
virtual void do_export(const std::vector<spike_type>&) = 0;
// Returns the status of the exporter
bool good() const;
};
} //communication
......
......@@ -58,6 +58,11 @@ public:
}
}
bool good() const
{
return file_handle_.good();
}
// Creates an indexed filename
static std::string create_output_file_path(const std::string& file_name, const std::string& path,
const std::string& file_extention, unsigned index)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment