|
Boost Users : |
From: david bautista garcia (ibbg_at_[hidden])
Date: 2007-06-22 09:12:33
hello:
I don't understand this code, anybody can explain to me what does ":" and ""
typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
boost::char_separator<char> sep(":", "", boost::keep_empty_tokens);
tokenizer tokens(str, sep);
tokenizer::iterator tok_iter = tokens.begin();
//cout << "TOKEN " << (*tok_iter) << endl;
if de input is :
TGTBTS:NAME=TGTBTS:42,BSIC=4-6,BCCHFREQ=784,SYSID=DCS1800,MSTXPMAXGSM=<NULL>,MSTXPMAXDCS=0,MSTXPMAXPCS=<NULL>,CELLGLID="214"-"03"-6004-1519;
TGTPTPPKF:NAME=TGTBTS:42/TGTPTPPKF:0,RACODE=137,RACOL=0,GRXLAMI=6,GMSTXPMAC=15;
what's de output?
thanks
--------------------------------------------------------------------------------------------
¿Ya sabes con quién vas? ¿Héroe o Villano?
Prepárate para la batalla final en http://friki.ozu.es
--------------------------------------------------------------------------------------------
Correo enviado desde http://www.ozu.es
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net