#include <cxflists.h>
Inheritance diagram for InsertLevelStackItem:
Public Member Functions | |
InsertLevelStackItem (BaseCamelotFilter *pFilter) | |
The default constructor. | |
UINT32 | GetNumNodesInserted () |
BOOL | SetLastInsertedNode (Node *pNode) |
Sets the last inserted node of this tree. | |
Node * | GetLastInsertedNode () |
void | SetLastHandler (CXaraFileRecordHandler *pHandler, UINT32 Tag) |
CXaraFileRecordHandler * | GetLastHandler () |
UINT32 | GetLastHandledTag () |
BOOL | InformLastInsertedNodeChildrenComplete () |
Tells the last inserted node that its children are complete. | |
Private Member Functions | |
CC_DECLARE_MEMDUMP (InsertLevelStackItem) | |
void | IncNumNodesInserted () |
Private Attributes | |
UINT32 | NumNodesInserted |
Node * | pLastInsertedNode |
CXaraFileRecordHandler * | pLastHandler |
UINT32 | LastHandledTag |
BaseCamelotFilter * | pFilter |
BOOL | LastNodeInformedChildrenComplete |
Definition at line 328 of file cxflists.h.
|
The default constructor.
Definition at line 182 of file cxflists.cpp. 00183 { 00184 NumNodesInserted = 0; 00185 pLastInsertedNode = NULL; 00186 pLastHandler = NULL; 00187 LastHandledTag = TAG_UNDEFINED; 00188 pFilter = pThisFilter; 00189 LastNodeInformedChildrenComplete = FALSE; 00190 00191 ERROR3IF(pFilter == NULL,"pFilter is NULL"); 00192 }
|
|
|
|
Definition at line 343 of file cxflists.h. 00343 { return LastHandledTag; }
|
|
Definition at line 342 of file cxflists.h. 00342 { return pLastHandler; }
|
|
Definition at line 339 of file cxflists.h. 00339 { return pLastInsertedNode; }
|
|
Definition at line 336 of file cxflists.h. 00336 { return NumNodesInserted; }
|
|
Definition at line 348 of file cxflists.h. 00348 { NumNodesInserted++; }
|
|
Tells the last inserted node that its children are complete.
Definition at line 239 of file cxflists.cpp. 00240 { 00241 ERROR3IF(pFilter == NULL,"pFilter is NULL"); 00242 00243 if (!LastNodeInformedChildrenComplete && pLastInsertedNode != NULL && pFilter != NULL) 00244 { 00245 if (!pFilter->ReadPostChildren(pLastInsertedNode)) 00246 return FALSE; 00247 00248 LastNodeInformedChildrenComplete = TRUE; 00249 } 00250 00251 return TRUE; 00252 }
|
|
Definition at line 341 of file cxflists.h. 00341 { pLastHandler = pHandler; LastHandledTag = Tag; }
|
|
Sets the last inserted node of this tree.
Definition at line 206 of file cxflists.cpp. 00207 { 00208 ERROR3IF(pNode == NULL,"pNode is NULL"); 00209 00210 if (pNode != NULL) 00211 { 00212 if (pNode->FindPrevious() == pLastInsertedNode) 00213 { 00214 if (!InformLastInsertedNodeChildrenComplete()) 00215 return FALSE; 00216 } 00217 00218 pLastInsertedNode = pNode; 00219 LastNodeInformedChildrenComplete = FALSE; 00220 00221 IncNumNodesInserted(); // Inc the number of nodes on this level 00222 } 00223 00224 return TRUE; 00225 }
|
|
Definition at line 353 of file cxflists.h. |
|
Definition at line 355 of file cxflists.h. |
|
Definition at line 350 of file cxflists.h. |
|
Definition at line 354 of file cxflists.h. |
|
Definition at line 352 of file cxflists.h. |
|
Definition at line 351 of file cxflists.h. |