TF++, Miscellaneous classes and modules in C++:

◆ value()

std::string tfxx::cmdline::Filename::value ( const std::string &  key) const

return values for option with given key

Definition at line 156 of file xcmdline.cc.

References options.

157  {
158  std::string retval;
159  Toptionmap::const_iterator p=options.find(key);
160  if (p != options.end())
161  { retval=p->second; }
162  return retval;
163  } // Filename::value
Toptionmap options
multimap containing all arguments together with their keys
Definition: xcmdline.h:196