Home | Libraries | People | FAQ | More |
boost::program_options::value_semantic_codecvt_helper<char> —
class value_semantic_codecvt_helper<char> : : public boost::program_options::value_semantic { public: // protected member functions virtual void xparse(boost::any &, const std::vector< std::string > &) const; // private member functions void parse(boost::any &, const std::vector< std::string > &, bool) const; };
Helper conversion class for values that accept ascii strings as input. Overrides the 'parse' method and defines new 'xparse' method taking std::string. Depending on whether input to parse is ascii or UTF8, will pass it to xparse unmodified, or with UTF8->ascii conversion.
value_semantic_codecvt_helper
private member functionsvoid parse(boost::any & value_store, const std::vector< std::string > & new_tokens, bool utf8) const;
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.
Copyright © 2002-2004 Vladimir Prus |