if ((n) < 0 || (n) >= words->size ()) \
DBG_OBJ_MSG (aspect, prio, prefix
"undefined (wrong index)" suffix); \
else { \
switch (words->getRef(n)->content.type) { \
case ::dw::core::Content::TEXT:
\
DBG_OBJ_MSGF (aspect, prio, prefix
"TEXT / \"%s\"" suffix, \
words->getRef(n)->content.text); \
break; \
case ::dw::core::Content::WIDGET_IN_FLOW:
\
DBG_OBJ_MSGF (aspect, prio, prefix
"WIDGET_IN_FLOW / %p" suffix, \
words->getRef(n)->content.widget); \
break; \
case ::dw::core::Content::WIDGET_OOF_REF:
\
prefix "WIDGET_OOF_REF / %p (%p, %d)" suffix,\
words->getRef(n)->content.widgetReference, \
words->getRef(n)->content.widgetReference->widget, \
words->getRef(n)->content.widgetReference \
->parentRef); \
break; \
case ::dw::core::Content::BREAK:
\
words->getRef(n)->content.breakSpace); \
break; \
DBG_OBJ_MSG (aspect, prio, prefix
"??? / ???" suffix); \
} \
} \
#define DBG_OBJ_MSGF(aspect, prio, fmt,...)
Definition: debug_rtfl.hh:392
#define D_STMT_END
Definition: debug.hh:18
#define DBG_OBJ_MSG(aspect, prio, msg)
Definition: debug_rtfl.hh:390
#define D_STMT_START
Definition: debug.hh:17