1 #ifndef NAMED_PARAMETER_BASE_HH 2 #define NAMED_PARAMETER_BASE_HH 16 class NamedParameterBase;
20 std::stringstream&
operator>>(std::stringstream& is
26 class ParsedParameterFile;
27 class ParsedParameterFileList;
53 bool read(std::istream& is);
54 bool read(
const std::string& fname);
67 virtual const std::string&
name()
const{
74 friend std::stringstream& ::operator>>(std::stringstream& is
bool setPPF(ParsedParameterFile *ppF_in=0)
static std::istream * _defaultStreamPtr
virtual const std::string & name() const
virtual bool setFromParsedFile()
virtual ~NamedParameterBase()
std::stringstream & operator>>(std::stringstream &is, MINT::NamedParameterBase &npb)
void quiet(bool beSo=true)
static bool setDefaultInputFile(const std::string &fname)
ParsedParameterFile * _ppF
static std::string _defaultFile
virtual bool setFromParsedLine(const ParsedParameterLine &line)=0
static ParsedParameterFileList * getFlist()
bool reloadFile(const std::string &id)
static bool IveSaidItOnce
static bool setDefaultInputStream(std::istream &str=std::cin)
bool gotInitialised() const
bool setFromInitString(const std::string &str)
bool setFromInitStringNoName(const std::string &str_in)
NamedParameterBase(const std::string &name_in="", const char *fname=0, VERBOSITY=VERBOSE)