Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class value_semantic_codecvt_helper<>

boost::program_options::value_semantic_codecvt_helper<wchar_t>

Synopsis

// In header: <boost/program_options/value_semantic.hpp>


class value_semantic_codecvt_helper<> : public  {
public:

  // private member functions
   
  (, , ) ;

  // protected member functions
   
  (, ) ;
};

Description

Helper conversion class for values that accept ascii strings as input. Overrides the 'parse' method and defines new 'xparse' method taking std::wstring. Depending on whether input to parse is ascii or UTF8, will recode input to Unicode, or pass it unmodified.

value_semantic_codecvt_helper private member functions

  1.  
    ( value_store,  new_tokens, 
           utf8) ;

    Parses a group of tokens that specify a value of option. Stores the result in 'value_store', using whatever representation is desired. May be be called several times if value of the same option is specified more than once.

value_semantic_codecvt_helper protected member functions

  1.  
    ( value_store, 
            new_tokens) ;

PrevUpHomeNext