popt::option_imp< string > Class Template Reference

Inheritance diagram for popt::option_imp< string >:
Inheritance graph
[legend]
Collaboration diagram for popt::option_imp< string >:
Collaboration graph
[legend]

Public Member Functions

 option_imp (string &value, char const *option_name, char short_name, char const *help_str, char const *arg_help_str)
void post_process ()
 ~option_imp ()

Protected Attributes

char const * option_name

Private Attributes

char * popt_value
string & value

Detailed Description

template<>
class popt::option_imp< string >

option<string> - a string option

Use this for options taking a string e.g. --frob parsley

Definition at line 164 of file popt_options.cpp.


Constructor & Destructor Documentation

popt::option_imp< string >::option_imp ( string &  value,
char const *  option_name,
char  short_name,
char const *  help_str,
char const *  arg_help_str 
)

Definition at line 289 of file popt_options.cpp.

popt::option_imp< string >::~option_imp (  )  [inline]

Definition at line 172 of file popt_options.cpp.


Member Function Documentation

void popt::option_imp< string >::post_process (  )  [virtual]

post_process - perform any necessary post-processing

Reimplemented from popt::option_base.

Definition at line 298 of file popt_options.cpp.


Field Documentation

char const* popt::option_base::option_name [protected, inherited]

Definition at line 53 of file popt_options.cpp.

char* popt::option_imp< string >::popt_value [private]

Definition at line 176 of file popt_options.cpp.

string& popt::option_imp< string >::value [private]

Definition at line 177 of file popt_options.cpp.


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1