00001 00014 #include "jbltools/sfh/FloatFunPoR.h" 00015 00016 #include "jbltools/sfh/FloatFunBase.h" 00017 #include "jbltools/sfh/JBLParserResult.h" 00018 00019 static const char *ident="@(#)$Id: FloatFunPoR.C,v 1.4 2005/07/08 15:01:34 blist Exp $"; 00020 00021 FloatFunPoR::FloatFunPoR (const std::string& name) 00022 : pff(JBLParserResult::parseExpression(name).getFloatFunValue()) {} 00023 00024 FloatFunPoR::FloatFunPoR (const char *name) 00025 : pff(JBLParserResult::parseExpression(name).getFloatFunValue()) {} 00026 00027 FloatFunPoRConst::FloatFunPoRConst (const std::string& name) 00028 : pff(JBLParserResult::parseExpression(name).getFloatFunValue()) {} 00029 00030 FloatFunPoRConst::FloatFunPoRConst (const char *name) 00031 : pff(JBLParserResult::parseExpression(name).getFloatFunValue()) {}