Developer Documentation
CmdOption< T > Class Template Reference

Public Types

typedef T value_type
 

Public Member Functions

 CmdOption (const T &_val)
 
bool is_valid (void) const
 
bool has_value (void) const
 
bool is_enabled () const
 
void enable ()
 
CmdOptionoperator= (const T &_val)
 
 operator T () const
 
 operator T * () const
 

Private Member Functions

 CmdOption (const CmdOption &)
 
CmdOptionoperator= (const CmdOption &)
 

Private Attributes

val_
 
bool valid_
 
bool enabled_
 

Detailed Description

template<typename T>
class CmdOption< T >

Definition at line 53 of file CmdOption.hh.


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