Revision 53:86d8a699dfbe Test.cpp
| Test.cpp | ||
|---|---|---|
| 175 | 175 |
return true; |
| 176 | 176 |
} |
| 177 | 177 |
|
| 178 |
bool |
|
| 179 |
Test::containsTimestamps(const Plugin::FeatureSet &b) |
|
| 180 |
{
|
|
| 181 |
for (Plugin::FeatureSet::const_iterator i = b.begin(); i != b.end(); ++i) {
|
|
| 182 |
for (int j = 0; j < (int)i->second.size(); ++j) {
|
|
| 183 |
if (i->second[j].values.empty()) continue; |
|
| 184 |
for (int k = 0; k < (int)i->second[j].values.size(); ++k) {
|
|
| 185 |
if (i->second[j].hasTimestamp) {
|
|
| 186 |
return true; |
|
| 187 |
} |
|
| 188 |
} |
|
| 189 |
} |
|
| 190 |
} |
|
| 191 |
return false; |
|
| 192 |
} |
|
| 193 |
|
|
| 178 | 194 |
void |
| 179 | 195 |
Test::dumpFeature(const Plugin::Feature &f, bool showValues) |
| 180 | 196 |
{
|
Also available in: Unified diff