60 #ifndef BOOST_FILESYSTEM_VERSION
61 #define BOOST_FILESYSTEM_VERSION 2
65 #include <boost/filesystem.hpp>
66 #include <boost/regex.hpp>
class implements text file loading and several convinience methods to access
std::string m_fileName
the file name of the file to parse
std::vector< std::string > m_rawLines
vector of every line in the file
std::vector< std::string > getRawLines()
getter
std::vector< std::string > getRawLines()
getter
WFileParser(const std::string fileName)
constructor
std::string m_delimiter
delimiter for entries in a line
bool readFile()
helper function to read a text file
std::vector< std::vector< std::string > > getLinesForTagSeparated(std::string tag)
getter
std::string m_endIndicator
string marking the end of a tagged area
std::vector< std::string > getLinesForTag(std::string tag)
getter
std::string m_tagIndicator
string marking a line as tag