Diagnostics: Implemented ::dump stubs in all objects

This commit is contained in:
Paul Beckingham 2016-03-02 10:24:48 -05:00
parent 2d5e3af4ee
commit 47208f27b1
5 changed files with 23 additions and 1 deletions

View file

@ -50,8 +50,9 @@ void Database::initialize (const std::string& location)
std::string Database::dump () const
{
std::stringstream out;
out << "Database\n";
for (const auto& file : _data_files)
out << "# Data file: " << file << "\n";
out << " Data: " << file << "\n";
return out.str ();
}