<commit_before>#include "storage_manager.hpp"

namespace opossum {

void storage_manager::add_table(std::string name, std::shared_ptr<table> tp) {
	_tables.insert(std::make_pair(name, std::move(tp)));
}

void storage_manager::print(std::ostream &out) const {
	out << "===== Tables " << std::endl;

	auto cnt = 0;
	for(auto const &tab : _tables) {
		out << "\t table #" << cnt << ": \t" << tab.first;
		// out << "(" << tab.second->col_count() << "columns, " << tab.second->row_count() << " rows)" << std::endl;
		out << std::endl;
		cnt++;
	}
}

}<commit_msg>Finished first version of storage manager's print<commit_after>#include "storage_manager.hpp"

namespace opossum {

void storage_manager::add_table(std::string name, std::shared_ptr<table> tp) {
	_tables.insert(std::make_pair(name, std::move(tp)));
}

void storage_manager::print(std::ostream &out) const {
	out << "==================" << std::endl;
	out << "===== Tables =====" << std::endl << std::endl;

	auto cnt = 0;
	for(auto const &tab : _tables) {
		out << "==== table >> " << tab.first << " <<";
		out << " (" << tab.second->col_count() << " columns, " << tab.second->row_count() << " rows)";
		out << std::endl << std::endl;
		tab.second->print();
		cnt++;
	}
}

}
{'fraction_non_alphanumeric': 0.24249797242497972, 'fraction_numerical': 0.0016220600162206002, 'mean_word_length': 4.766355140186916, 'pattern_counts': {'":': 1, '<': 63, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3205714', 'n_tokens_mistral': 457, 'n_tokens_neox': 440, 'n_words': 87}