37 #ifndef AIMS_GETOPT_GETOPTPROCESS_H 38 #define AIMS_GETOPT_GETOPTPROCESS_H 64 std::string SingleOption< aims::ProcessInput >::info()
const 69 inf += names() +
" <file name (read only): ";
71 const std::map<std::string, std::map<std::string,
73 procs = _value.process().processTypes();
74 std::map<std::string, std::map<std::string, aims::Process::ProcFunc> >
75 ::const_iterator ipl, epl = procs.end();
76 std::map<std::string, aims::Process::ProcFunc>::const_iterator ip, ep;
81 for( ipl=procs.begin(); ipl!=epl; ++ipl )
82 for( ip=ipl->second.begin(), ep=ipl->second.end(); ip!=ep; ++ip )
85 ptypes += std::string(
", " );
87 ptypes += ipl->first +
" of " + ip->first;
91 inf += std::string(
"{ " ) + ptypes +
" }";
95 inf += std::string(
"> " ) + _info;
97 inf += std::string(
" ]" );
103 bool SingleOption< aims::ProcessInput >::feed(
const std::string &value )
109 _value.filename = value;
The class for EcatSino data write operation.
bool(* ProcFunc)(Process &, const std::string &, Finder &)
Process function type.
Link mechanism between the Finder and a process operating on arbitrary data types.