/* * FormatParser.cpp * * Created on: Mar 1, 2010 * Author: metzler */ #include "FormatParser.hpp" FormatParser::FormatParser() { ChangeTracker::get()->signOn(this); } FormatParser::~FormatParser() { ChangeTracker::get()->signOff(this); } /** * Parses a file into a matrix container. * * \param absolute path of the file * \param number of lines to skip initially (will be stored as header) * \param number of columns to skip initially * \return matrix container */ MatrixContainer* readData(char* fileName, int skiplines, int skipcolumns) { MatrixContainer* result = new MatrixContainer(); // result->ParseMatrix(*fileName, skiplines, skipcolumns, 0); return result; }