+void Grid::finish_slot()
+{
+ ++column;
+ if(column==columns.size())
+ finish_row();
+}
+
+void Grid::finish_row()
+{
+ edges[BOTTOM] = row_bottom;
+ row_bottom.clear();
+ row_top.clear();
+ first_row = false;
+ column = 0;
+}
+
+
+Grid::Loader::Loader(Grid &g):
+ DataFile::ObjectLoader<Grid>(g)
+{
+ add("next_row", &Loader::next_row);
+ add("skip", &Loader::skip);
+}
+
+void Grid::Loader::next_row()
+{
+ obj.next_row();
+}
+
+void Grid::Loader::skip()
+{
+ obj.skip();