7 #include "boost/lexical_cast.hpp"
8 #include "boost/tokenizer.hpp"
27 val = boost::lexical_cast<T>(
s);
29 catch (boost::bad_lexical_cast& )
42 std::vector<std::string>::const_iterator
begin()
const
48 std::vector<std::string>::const_iterator
end()
const
64 std::ifstream& in = *p_mydata;
68 boost::char_separator<char>
sep(
" \f\t\v");
69 typedef boost::tokenizer<boost::char_separator<char> >
Tokenizer;
72 std::ostringstream
ost;
73 while( std::getline(in,
line) )
76 std::vector< std::string >
tokens(tok.begin(), tok.end());
81 std::string& dataname =
tokens[0];
82 std::string& svalue =
tokens[1];
83 if(dataname ==
"IP" ) vs.
setValue(configData.
IP, svalue);
91 if(dataname ==
"PBEA") {