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, 
 
   77   _optional( optional ),
 
   87 template <
class T> 
inline  
   90   if( _nameInList( n ) ) {
 
  100 template <
class T> 
inline  
  103   if ( ! _optional && ! _valueRead ) {
 
  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, 
 
  168   _optional( optional ),
 
  178 template <
class T> 
inline  
  181   if( _nameInList( n ) ) {
 
  191 template <
class T> 
inline  
  194   if ( ! _optional && ! _valueRead ) {
 
  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 );
 
static AimsApplication * globalApplication()
AimsApplication(int argc, const char **argv, const std::string &documentation)
virtual void initialize()
Generic reader for every format of Aims object.
Generic writer for every format of Aims object.
const std::string & name() const
SingleOption(T &value, const std::string &name, const std::string &info, bool optional)
virtual bool recognizeName(const std::string &)
virtual bool feed(const std::string &)
The class for EcatSino data write operation.