29 std::cout <<
"New PidCandidate 0x" << hex << _candidateid << std::endl;
31 for (prop_map_t::const_iterator
i = prop_map.begin();
i!= prop_map.end(); ++
i)
34 pair<const string, PROPERTY_TYPE> property_info = get_property_info(prop_id);
35 cout <<
"\t" << prop_id <<
":\t" << property_info.first <<
" = \t";
36 switch(property_info.second)
39 cout << get_property_int(prop_id);
42 cout << get_property_uint(prop_id);
45 cout << get_property_float(prop_id);
48 cout <<
" unknown type ";
57 prop_map_t::const_iterator
i = prop_map.find(prop_id);
58 return i!=prop_map.end();
64 if (!check_property(prop_id,type_float))
66 pair<const string,PROPERTY_TYPE> property_info =get_property_info(prop_id);
67 cout <<
PHWHERE <<
" Property " << property_info.first <<
" with id "
68 << prop_id <<
" is of type " << get_property_type(property_info.second)
69 <<
" not " << get_property_type(type_float) << endl;
72 prop_map_t::const_iterator
i = prop_map.find(prop_id);
82 if (!check_property(prop_id,type_int))
84 pair<const string,PROPERTY_TYPE> property_info =get_property_info(prop_id);
85 cout <<
PHWHERE <<
" Property " << property_info.first <<
" with id "
86 << prop_id <<
" is of type " << get_property_type(property_info.second)
87 <<
" not " << get_property_type(type_int) << endl;
90 prop_map_t::const_iterator
i = prop_map.find(prop_id);
100 if (!check_property(prop_id,type_uint))
102 pair<const string,PROPERTY_TYPE> property_info =get_property_info(prop_id);
103 cout <<
PHWHERE <<
" Property " << property_info.first <<
" with id "
104 << prop_id <<
" is of type " << get_property_type(property_info.second)
105 <<
" not " << get_property_type(type_uint) << endl;
108 prop_map_t::const_iterator
i = prop_map.find(prop_id);
118 if (!check_property(prop_id,type_float))
120 pair<const string,PROPERTY_TYPE> property_info = get_property_info(prop_id);
121 cout <<
PHWHERE <<
" Property " << property_info.first <<
" with id "
122 << prop_id <<
" is of type " << get_property_type(property_info.second)
123 <<
" not " << get_property_type(type_float) << endl;
132 if (!check_property(prop_id,type_int))
134 pair<const string,PROPERTY_TYPE> property_info = get_property_info(prop_id);
135 cout <<
PHWHERE <<
" Property " << property_info.first <<
" with id "
136 << prop_id <<
" is of type " << get_property_type(property_info.second)
137 <<
" not " << get_property_type(type_int) << endl;
146 if (!check_property(prop_id,type_uint))
148 pair<const string,PROPERTY_TYPE> property_info = get_property_info(prop_id);
149 cout <<
PHWHERE <<
" Property " << property_info.first <<
" with id "
150 << prop_id <<
" is of type " << get_property_type(property_info.second)
151 <<
" not " << get_property_type(type_uint) << endl;
160 prop_map_t::const_iterator iter = prop_map.find(prop_id);
161 if (iter != prop_map.end())
171 cout <<
"PidCandidatev1 with candidate_id: 0x" << hex << _candidateid << dec << endl;
172 cout <<
"Class " << this->ClassName() << endl;
174 for (prop_map_t::const_iterator
i = prop_map.begin();
i!= prop_map.end(); ++
i)
177 pair<const string, PROPERTY_TYPE> property_info = get_property_info(prop_id);
178 cout <<
"\t" << prop_id <<
":\t" << property_info.first <<
" = \t";
179 switch(property_info.second)
182 cout << get_property_int(prop_id);
185 cout << get_property_uint(prop_id);
188 cout << get_property_float(prop_id);
191 cout <<
" unknown type ";