SingleNodeSource Class Reference

Concretisation of NodeScan::Source for a "scan" over a single node (generally), and over the 'selected' document's NodeSetSentinel sentinel (specifically). More...

#include <ngiter.h>

Inheritance diagram for SingleNodeSource:

NodeScan::Source SetSentinelSource List of all members.

Public Member Functions

 SingleNodeSource (Node *pNode=0)

Protected Member Functions

virtual NodeGetFirst ()
virtual NodeGetNext (Node *)

Protected Attributes

Nodem_pNode

Detailed Description

Concretisation of NodeScan::Source for a "scan" over a single node (generally), and over the 'selected' document's NodeSetSentinel sentinel (specifically).

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/7/99

Definition at line 277 of file ngiter.h.


Constructor & Destructor Documentation

SingleNodeSource::SingleNodeSource Node pNode = 0  ) 
 

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/7/99
Parameters:
pNode --- the node to "scan" over [INPUTS]
Returns:
Scan over a single Node.
See also:
NodeScan::Source; NodeScan

Definition at line 485 of file ngiter.cpp.

00486   : m_pNode(pNode)
00487 {
00488     // Empty.
00489 }


Member Function Documentation

Node * SingleNodeSource::GetFirst  )  [protected, virtual]
 

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/7/99
Returns:
A single object.
See also:
NodeScan::Source; NodeScan; SingleNodeSource::GetNext

Implements NodeScan::Source.

Reimplemented in SetSentinelSource.

Definition at line 502 of file ngiter.cpp.

00503 {
00504     return m_pNode;
00505 }

Node * SingleNodeSource::GetNext Node  )  [protected, virtual]
 

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/7/99
Returns:
Null - the sole object has already been returned by _GetFirst.
See also:
NodeScan::Source; NodeScan; SingleNodeSource::GetFirst

Implements NodeScan::Source.

Definition at line 518 of file ngiter.cpp.

00519 {
00520     return 0;
00521 }


Member Data Documentation

Node* SingleNodeSource::m_pNode [protected]
 

Definition at line 286 of file ngiter.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:01:16 2007 for Camelot by  doxygen 1.4.4