22 valueDouble(
BOL::UsefulStuff::notANumber ),
23 evaluationScale(
BOL::UsefulStuff::notANumber ),
24 daughterParticleCodes()
30 valueDouble( copySource.valueDouble ),
31 evaluationScale( copySource.evaluationScale ),
32 daughterParticleCodes( copySource.daughterParticleCodes )
45 std::string firstRemainder;
46 std::string secondRemainder;
66 while( !(secondRemainder.empty()) )
77 if( ( 0 < numberOfDaughterParticles )
83 <<
"LHPC::warning! An FOBS line declared a different number of daughter"
84 <<
" particles ( " << numberOfDaughterParticles <<
" ) to the actual"
85 <<
" number of daughter particle codes it had ( "
87 <<
" )! The declared number is being ignored in favor of the number of"
91 <<
"input string: \"" << valuesString <<
"\"";
92 std::cout << std::endl;
107 for( std::list< int >::const_iterator
static std::string firstWordOf(std::string const &stringToParse, std::string *const remainderString=NULL, std::string const &separatorChars=whitespaceChars)
static std::string const whitespaceAndNewlineChars
static std::string trimFromFrontAndBack(std::string const &stringToTrim, std::string const &charsToTrim=whitespaceAndNewlineChars)
static double stringToDouble(std::string const &stringToInterpret)
static std::string doubleToString(double inputDouble, int const numberOfMantissaDigits, int const numberOfExponentDigits, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-", std::string const positiveExponentPrefix="+", std::string const negativeExponentPrefix="-", std::string const exponentCharacter="E")
static std::string intToSpacePaddedString(int inputInt, int const minimumNumberOfChars, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-")
static int stringToInt(std::string const &stringToInterpret)
std::string getAsString() const
void setFromString(std::string const &valuesString)
static int const spacesBetweenCodes
std::list< int > daughterParticleCodes
static int const minimumDigitsForCodes