SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::opt_base2< T > Struct Template Reference

Helper for av_parser. More...

Inheritance diagram for shore::opt_base2< T >:
shore::opt_base1< T > shore::opt_base shore::av_option< T >

Public Member Functions

 opt_base2 (const char sh, const std::string &lo, T *const ptr)
 
virtual void store_arg (const char *const sval, const bool clear_arg)
 Parse the option argument from a string.
 
virtual std::string argdefault_string () const
 Display the current setting of the argument.
 
- Public Member Functions inherited from shore::opt_base1< T >
 opt_base1 (const char sh, const std::string &lo, T *const ptr)
 
virtual void * ptr () const
 void pointer to the location the optarg gets stored at.
 
virtual std::string arg_format () const
 Display the format hint for the argument.
 
- Public Member Functions inherited from shore::opt_base
 opt_base (const char sh, const std::string &lo)
 
bool is_option () const
 

Additional Inherited Members

- Public Attributes inherited from shore::opt_base1< T >
T * valueptr
 

Detailed Description

template<typename T>
struct shore::opt_base2< T >

Helper for av_parser.


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