CXaraFileNodeGroupRefListItem Class Reference

An item that appears in the CXaraFileTextStoryGroupRefListHolds a list of text stories and corresponding group objects.An item that appears in the CXaraFileNodeGroupRefList. More...

#include <cxflists.h>

Inheritance diagram for CXaraFileNodeGroupRefListItem:

ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CXaraFileNodeGroupRefListItem (Node *pThisNode, NodeGroup *pGroup)
 ~CXaraFileNodeGroupRefListItem ()
 Destroys every last fragmented morsal of this pathetic excuse for an object.Destroys every last fragmented morsal of this pathetic excuse for an object.
Node * GetNode ()
NodeGroup * GetNodeGroup ()

Private Attributes

Node * pNode
NodeGroup * pNodeGroup

Detailed Description

An item that appears in the CXaraFileTextStoryGroupRefListHolds a list of text stories and corresponding group objects.An item that appears in the CXaraFileNodeGroupRefList.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/1/97
The group node that is in this object is assumed to be deletable and not in the tree. The destructor will CascadeDelete() the group, then delete the group itself

WEBSTER - markn 29/1/97 Part of the general form of the system used to convert text to outlines in v1.5

Definition at line 259 of file cxflists.h.


Constructor & Destructor Documentation

CXaraFileNodeGroupRefListItem::CXaraFileNodeGroupRefListItem (  Node *  pThisNode,
NodeGroup *  pGroup
)  [inline]
 

Definition at line 264 of file cxflists.h.

00264 { pNode = pThisNode; pNodeGroup = pGroup; }

CXaraFileNodeGroupRefListItem::~CXaraFileNodeGroupRefListItem (   ) 
 

Destroys every last fragmented morsal of this pathetic excuse for an object.Destroys every last fragmented morsal of this pathetic excuse for an object.

Author:
Mark_Neves (Xara Group Ltd) <camelotdev@xara.com>
Date:
29/1/97
Parameters:
- [INPUTS]
Returns:
-
If it has a group, its children are deleted via CascadeDelete(), then the group itself is deleted

WEBSTER - markn 29/1/97 Part of the general form of the system used to convert text to outlines in v1.5

Definition at line 157 of file cxflists.cpp.

00158 {
00159     if (pNodeGroup != NULL)
00160     {
00161         pNodeGroup->CascadeDelete();
00162         delete pNodeGroup;
00163         pNodeGroup = NULL;
00164     }
00165 }


Member Function Documentation

Node* CXaraFileNodeGroupRefListItem::GetNode (   )  [inline]
 

Definition at line 269 of file cxflists.h.

00269 { return pNode; }

NodeGroup* CXaraFileNodeGroupRefListItem::GetNodeGroup (   )  [inline]
 

Definition at line 270 of file cxflists.h.

00270 { return pNodeGroup; }


Member Data Documentation

Node* CXaraFileNodeGroupRefListItem::pNode [private]
 

Definition at line 273 of file cxflists.h.

NodeGroup* CXaraFileNodeGroupRefListItem::pNodeGroup [private]
 

Definition at line 274 of file cxflists.h.


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