popt::option_imp< int > Class Template Reference

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

Public Member Functions

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

Protected Attributes

char const * option_name

Detailed Description

template<>
class popt::option_imp< int >

option<int> - a integer option

Use this for options taking an integer e.g. --frob 6

Definition at line 150 of file popt_options.cpp.


Constructor & Destructor Documentation

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

Definition at line 282 of file popt_options.cpp.

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

Definition at line 155 of file popt_options.cpp.


Member Function Documentation

virtual void popt::option_base::post_process (  )  [inline, virtual, inherited]

post_process - perform any necessary post-processing

Reimplemented in popt::option_imp< void >, popt::option_imp< string >, and popt::option_imp< vector< string > >.

Definition at line 50 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.


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1