Main   Classes   Namespace members   Examples   Recipes   Rationale   Related pages

boost::program_options::validator< T > Class Template Reference

Validates 's' and updates 'v'. More...

#include <options_description.hpp>

List of all members.

Public Member Functions

void operator() (boost::any &v, const std::vector< std::string > &s)
 Method that does the job.


Detailed Description

template<class T>
class boost::program_options::validator< T >

Validates 's' and updates 'v'.

Precondition:
'v' is either empty or in the state assigned by the previous invocation of 'validate'. Specializations are provided for bool, float, int, and string.


Member Function Documentation

void boost::program_options::validator<>::operator() boost::any &    v,
const std::vector< std::string > &    s
 

Method that does the job.


The documentation for this class was generated from the following files:
Generated on 23 May 2003 with
doxygen