8 if (str.length () !=
NBCHAN)
10 for (
size_t i = 0; i < str.length (); i++)
11 if (!(str[i] ==
'0' || str[i] ==
'1'))
18 bool* tabbool =
new bool[
NBCHAN];
20 for (
size_t i = 0; i < str.length (); i++)
21 tabbool[i] = (str[i] ==
'0' ? 0 : 1);
35 boost::filesystem::current_path ().string () +
"/chat.conf";
36 boost::filesystem::path path (file);
37 if (!boost::filesystem::exists (path))
49 f.open (path.string ());
52 std::getline (f, line);
53 if (line.compare (
"</chat>") == 0)
64 if (line.compare (
"<chat>") == 0)
76 for (; it < ite; it++)