cxxtools::ArgBaseT< const char * > Class Template Reference

#include <cxxtools/arg.h>

Inheritance diagram for cxxtools::ArgBaseT< const char * >:
cxxtools::ArgBase

Public Member Functions

const char * getValue () const
 returns the extracted value.
 operator const char * () const
 class is convertible to "const char*"
ArgBaseT< const char * > & operator= (const char *value)
- Public Member Functions inherited from cxxtools::ArgBase
 ArgBase ()
bool isSet () const
 returns true if the option was found and the default value was not used

Protected Member Functions

 ArgBaseT (const char *def)
bool extract (const char *str, int &argc, char *argv[], int i, int n)

Additional Inherited Members

- Static Protected Member Functions inherited from cxxtools::ArgBase
static void removeArg (int &argc, char *argv[], int pos, int n)
- Protected Attributes inherited from cxxtools::ArgBase
bool m_isset

Constructor & Destructor Documentation

cxxtools::ArgBaseT< const char * >::ArgBaseT ( const char *  def)
inlineexplicitprotected

Member Function Documentation

bool cxxtools::ArgBaseT< const char * >::extract ( const char *  str,
int &  argc,
char *  argv[],
int  i,
int  n 
)
inlineprotected
const char* cxxtools::ArgBaseT< const char * >::getValue ( ) const
inline

returns the extracted value.

cxxtools::ArgBaseT< const char * >::operator const char * ( ) const
inline

class is convertible to "const char*"

ArgBaseT<const char*>& cxxtools::ArgBaseT< const char * >::operator= ( const char *  value)
inline

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