#include <attraggl.h>
Inheritance diagram for DocPseudoEnumerator:
Public Member Functions | |
DocPseudoEnumerator (Document *const pDocument) | |
virtual NodeRenderable * | FindFirst () const |
virtual NodeRenderable * | FindNext (NodeRenderable *const pPrevious) const |
Private Member Functions | |
CC_DECLARE_MEMDUMP (DocPseudoEnumerator) | |
Private Attributes | |
Document * | m_pDocument |
Definition at line 226 of file attraggl.h.
|
Definition at line 232 of file attraggl.h. 00232 : m_pDocument(pDocument) {}
|
|
|
|
Implements RenderableNodeEnumerator. Definition at line 218 of file attraggl.cpp. 00219 { 00220 ASSERT(m_pDocument != NULL); 00221 00222 PORTNOTE("spread", "Multi-spread warning!") 00223 Spread* const pSpread = m_pDocument->FindFirstSpread(); 00224 ASSERT(pSpread != NULL); 00225 00226 const Chapter* const pChapter = pSpread->FindParentChapter(); 00227 ASSERT(pChapter != NULL); 00228 00229 const NodeDocument* const pDocNode = (NodeDocument*)pChapter->FindParent(); 00230 ASSERT(pDocNode != NULL); 00231 ENSURE_KIND(pDocNode, NodeDocument); 00232 00233 return (NodeRenderable*)pDocNode; 00234 }
|
|
Implements RenderableNodeEnumerator. Definition at line 236 of file attraggl.h. 00236 { return NULL; }
|
|
Definition at line 239 of file attraggl.h. |