DocPseudoEnumerator Class Reference

#include <attraggl.h>

Inheritance diagram for DocPseudoEnumerator:

RenderableNodeEnumerator List of all members.

Public Member Functions

 DocPseudoEnumerator (Document *const pDocument)
virtual NodeRenderableFindFirst () const
virtual NodeRenderableFindNext (NodeRenderable *const pPrevious) const

Private Member Functions

 CC_DECLARE_MEMDUMP (DocPseudoEnumerator)

Private Attributes

Documentm_pDocument

Detailed Description

Definition at line 226 of file attraggl.h.


Constructor & Destructor Documentation

DocPseudoEnumerator::DocPseudoEnumerator Document *const   pDocument  )  [inline]
 

Definition at line 232 of file attraggl.h.

00232 : m_pDocument(pDocument)    {}


Member Function Documentation

DocPseudoEnumerator::CC_DECLARE_MEMDUMP DocPseudoEnumerator   )  [private]
 

NodeRenderable * DocPseudoEnumerator::FindFirst  )  const [virtual]
 

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 }

virtual NodeRenderable* DocPseudoEnumerator::FindNext NodeRenderable *const   pPrevious  )  const [inline, virtual]
 

Implements RenderableNodeEnumerator.

Definition at line 236 of file attraggl.h.

00236 {   return NULL;    }


Member Data Documentation

Document* DocPseudoEnumerator::m_pDocument [private]
 

Definition at line 239 of file attraggl.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:53:43 2007 for Camelot by  doxygen 1.4.4