A.I.M.S


carto::SingleOption< aims::Writer< T > > Class Template Reference

#include <aims/getopt/getopt2.h>

Inheritance diagram for carto::SingleOption< aims::Writer< T > >:
Collaboration diagram for carto::SingleOption< aims::Writer< T > >:

Public Member Functions

 SingleOption (aims::Writer< T > &value, const std::string &name, const std::string &info, bool optional)
 
virtual ~SingleOption ()
 
virtual bool recognizeName (const std::string &)
 
virtual bool feed (const std::string &)
 
virtual void check ()
 
std::string info () const
 

Additional Inherited Members

- Protected Member Functions inherited from carto::OptionBase
 OptionBase (const std::string &name, const std::string &info)
 
virtual ~OptionBase ()
 
void addName (const std::string &name)
 
const std::string & name () const
 
std::string names () const
 
bool _nameInList (const std::string &name) const
 
- Protected Attributes inherited from carto::OptionBase
std::vector< std::string > _names
 
std::string _info
 

Detailed Description

template<class T>
class carto::SingleOption< aims::Writer< T > >

Definition at line 141 of file getopt2.h.

Constructor & Destructor Documentation

template<class T >
carto::SingleOption< aims::Writer< T > >::SingleOption ( aims::Writer< T > &  value,
const std::string &  name,
const std::string &  info,
bool  optional 
)
inline

Definition at line 162 of file getopt2.h.

template<class T >
carto::SingleOption< aims::Writer< T > >::~SingleOption ( )
inlinevirtual

Definition at line 175 of file getopt2.h.

Member Function Documentation

template<class T >
void carto::SingleOption< aims::Writer< T > >::check ( )
inlinevirtual

Implements carto::OptionBase.

Definition at line 192 of file getopt2.h.

template<class T >
bool carto::SingleOption< aims::Writer< T > >::feed ( const std::string &  value)
inlinevirtual

Implements carto::OptionBase.

Definition at line 214 of file getopt2.h.

template<class T >
std::string carto::SingleOption< aims::Writer< T > >::info ( ) const
inlinevirtual

Implements carto::OptionBase.

Definition at line 201 of file getopt2.h.

References carto::DataTypeCode< class >::name().

template<class T >
bool carto::SingleOption< aims::Writer< T > >::recognizeName ( const std::string &  n)
inlinevirtual

Implements carto::OptionBase.

Definition at line 179 of file getopt2.h.


The documentation for this class was generated from the following file: