Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::program_options::typed_value_base Class Referenceabstract

Base class for all option that have a fixed type, and are willing to announce this type to the outside world. More...

#include <value_semantic.hpp>

Inheritance diagram for boost::program_options::typed_value_base:

Public Member Functions

virtual const std::type_info & value_type () const =0
 
virtual ~typed_value_base ()
 

Detailed Description

Base class for all option that have a fixed type, and are willing to announce this type to the outside world.

Any 'value_semantics' for which you want to find out the type can be dynamic_cast-ed to typed_value_base. If conversion succeeds, the 'type' method can be called.

Constructor & Destructor Documentation

virtual boost::program_options::typed_value_base::~typed_value_base ( )
inlinevirtual

Member Function Documentation

virtual const std::type_info& boost::program_options::typed_value_base::value_type ( ) const
pure virtual

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