28 #if GNASH_PARANOIA_LEVEL > 1 && !defined(NDEBUG)
40 #ifndef GNASH_PARANOIA_LEVEL
41 # define GNASH_PARANOIA_LEVEL 1
118 bool use_old_matrix);
163 const SWFMatrix* mat, boost::uint16_t* ratio);
265 template <
class V>
inline void visitAll(
V& visitor);
266 template <
class V>
inline void visitAll(
V& visitor)
const;
274 return _charsByDepth.size();
279 return _charsByDepth.empty();
297 return _charsByDepth == other._charsByDepth;
301 return _charsByDepth != other._charsByDepth;
304 #if GNASH_PARANOIA_LEVEL > 1 && !defined(NDEBUG)
312 std::set<int> depths;
314 itEnd = _charsByDepth.end(); it != itEnd; ++it) {
318 if (!depths.insert(depth).second) {
319 log_debug(
"Depth %d is duplicated in DisplayList %p",
320 depth, (
const void*)
this);
324 if (_charsByDepth.empty())
return;
326 assert(std::adjacent_find(_charsByDepth.begin(), _charsByDepth.end(),
327 DepthGreaterThan()) == _charsByDepth.end());
355 itEnd = _charsByDepth.rend(); it != itEnd; ++it) {
356 if (!visitor(*it))
break;
365 itEnd = _charsByDepth.rend(); it != itEnd; ++it) {
366 if (!visitor(*it))
break;
374 for (
iterator it = _charsByDepth.begin(), itEnd = _charsByDepth.end();
386 itEnd = _charsByDepth.end(); it != itEnd; ++it) {
397 #endif // GNASH_DLIST_H