14#ifndef BLOCKINTERPRETER_HPP_
15#define BLOCKINTERPRETER_HPP_
18#include "../BaseStringBlock.hpp"
51 virtual std::string
const&
86 std::string lineReturnString;
87 lineReturnString.assign(
"LHPC::error! this block has not been" );
88 lineReturnString.append(
" registered with an SlhaParser properly!" );
89 return lineReturnString;
104 std::string lineReturnString;
105 if( NULL == currentStringBlock )
107 lineReturnString.assign(
"LHPC::error! this block has not been" );
108 lineReturnString.append(
" registered with an SlhaParser properly!" );
112 lineReturnString.assign( (*currentStringBlock)[ whichLine ].first );
113 lineReturnString.append( (*currentStringBlock)[ whichLine ].second );
115 return lineReturnString;
static BOL::StringParser const slhaIntHelper
std::string stringInterpretation
BlockClass::BaseStringBlock const * currentStringBlock
virtual void interpretCurrentStringBlock()=0
static BOL::StringParser const particleCodeMaker
virtual ~BlockInterpreter()
static BOL::StringParser const slhaDoubleMaker
void interpretStringBlock(BlockClass::BaseStringBlock const &stringsToInterpret)
std::string getLineWithoutComment(int const whichLine) const
static bool const defaultVerbosity
std::string getLineWithComment(int const whichLine) const
virtual std::string const & getAsString()=0
virtual void clearEntries()=0