34 #ifndef AIMS_GETOPT_GETOPT2_H 35 #define AIMS_GETOPT_GETOPT2_H 59 const std::string &
info,
bool optional );
63 virtual bool feed(
const std::string & );
65 std::string
info()
const;
72 const std::string &
name,
73 const std::string &
info,
87 template <
class T>
inline 100 template <
class T>
inline 109 template <
class T>
inline 113 return std::string(
"[ " ) +
names() +
" <file name (read only): " +
116 return names() +
" <file name (read only): " 123 template <
class T>
inline 129 _value.setFileName( value );
150 const std::string &
info,
bool optional );
154 virtual bool feed(
const std::string & );
155 virtual void check();
156 std::string
info()
const;
163 const std::string &
name,
164 const std::string &
info,
178 template <
class T>
inline 191 template <
class T>
inline 200 template <
class T>
inline 204 return std::string(
"[ " ) +
names() +
" <filename: " 207 return names() +
" <filename: " 213 template <
class T>
inline 219 _value.setFileName( value );
239 const std::string &documentation );
244 virtual void initialize();
252 #endif // ifndef AIMS_GETOPT_GETOPT2_H virtual bool recognizeName(const std::string &)
SingleOption(T &value, const std::string &name, const std::string &info, bool optional)
The class for EcatSino data write operation.
bool _nameInList(const std::string &name) const
virtual bool feed(const std::string &)
Generic reader for every format of Aims object.
std::string names() const
Generic writer for every format of Aims object.
const std::string & name() const