25 #if GNASH_PARANOIA_LEVEL > 1 && !defined(NDEBUG)
41 #ifndef GNASH_PARANOIA_LEVEL
42 # define GNASH_PARANOIA_LEVEL 1
119 bool use_old_matrix);
164 const SWFMatrix* mat, boost::uint16_t* ratio);
266 template <
class V>
inline void visitAll(
V& visitor);
267 template <
class V>
inline void visitAll(
V& visitor)
const;
275 return _charsByDepth.size();
280 return _charsByDepth.empty();
298 return _charsByDepth == other._charsByDepth;
302 return _charsByDepth != other._charsByDepth;
305 #if GNASH_PARANOIA_LEVEL > 1 && !defined(NDEBUG)
313 std::set<int> depths;
315 itEnd = _charsByDepth.end(); it != itEnd; ++it) {
319 if (!depths.insert(depth).second) {
320 log_debug(
"Depth %d is duplicated in DisplayList %p",
321 depth, (
const void*)
this);
325 if (_charsByDepth.empty())
return;
327 assert(std::adjacent_find(_charsByDepth.begin(), _charsByDepth.end(),
328 DepthGreaterThan()) == _charsByDepth.end());
356 itEnd = _charsByDepth.rend(); it != itEnd; ++it) {
357 if (!visitor(*it))
break;
366 itEnd = _charsByDepth.rend(); it != itEnd; ++it) {
367 if (!visitor(*it))
break;
375 for (
iterator it = _charsByDepth.begin(), itEnd = _charsByDepth.end();
387 itEnd = _charsByDepth.end(); it != itEnd; ++it) {
398 #endif // GNASH_DLIST_H