#include <cdrfiltr.h>
Inheritance diagram for CDRLayerListItem:
Public Member Functions | |
CDRLayerListItem () | |
Constructor. | |
~CDRLayerListItem () | |
Destructor. | |
Private Member Functions | |
CC_DECLARE_MEMDUMP (CDRLayerListItem) | |
Private Attributes | |
friend | CDRLayerList |
String_256 | Name |
Node * | Objects |
BOOL | LayerInDocument |
BOOL | IsVisible |
BOOL | IsLocked |
Friends | |
class | CDRFilter |
Definition at line 414 of file cdrfiltr.h.
|
Constructor.
Definition at line 4972 of file cdrfiltr.cpp. 04973 { 04974 Objects = 0; 04975 LayerInDocument = FALSE; 04976 IsVisible = TRUE; 04977 IsLocked = FALSE; 04978 }
|
|
Destructor.
Definition at line 4994 of file cdrfiltr.cpp. 04995 { 04996 Node *Previous; 04997 Node *This; 04998 04999 This = Objects; 05000 05001 if(LayerInDocument == FALSE) 05002 { 05003 // delete the tree if it hasn't been used in the document 05004 while(This != 0) 05005 { 05006 // check that the node we're about to delete hasn't got a next pointer 05007 // as it jolly well shouldn't have one as we create the tree backwards 05008 ERROR3IF(This->FindNext() != 0, "Node in layer has next pointer during deletion"); 05009 05010 // find the previous node 05011 Previous = This->FindPrevious(); 05012 05013 // delete the current one's children 05014 This->CascadeDelete(); 05015 05016 // and delete the current one 05017 delete This; 05018 05019 // shuffle backwards 05020 This = Previous; 05021 } 05022 Objects = 0; 05023 } 05024 }
|
|
|
|
Definition at line 417 of file cdrfiltr.h. |
|
Definition at line 416 of file cdrfiltr.h. |
|
Definition at line 435 of file cdrfiltr.h. |
|
Definition at line 434 of file cdrfiltr.h. |
|
Definition at line 430 of file cdrfiltr.h. |
|
Definition at line 426 of file cdrfiltr.h. |
|
Definition at line 428 of file cdrfiltr.h. |