parser() in DoubleTextParser.hpp shouldn't be virtual since it should not be overloaded.