#include <objreg.h>
Inheritance diagram for NodeRenderableInkDetailsItem:
Public Member Functions | |
NodeRenderableInkDetailsItem () | |
BOOL | AddAttribClass (CCRuntimeClass *pAttribClass) |
Add a NodeAttribute class to this details item, eg:. | |
void | RemoveAttribClass (CCRuntimeClass *pAttribClass) |
Remove a NodeAttribute class from this details item, eg:. | |
Public Attributes | |
BOOL | IsABaseClass |
CCRuntimeClass * | NodeRenderableInkClass |
List | NodeAttributeClassList |
Private Member Functions | |
CC_DECLARE_MEMDUMP (NodeRenderableInkDetailsItem) |
Definition at line 143 of file objreg.h.
|
Definition at line 148 of file objreg.h. 00148 { IsABaseClass = FALSE; }
|
|
Add a NodeAttribute class to this details item, eg:.
to add the AttrFillGeometry type to the pNewDetails item. Definition at line 164 of file objreg.cpp. 00165 { 00166 NodeAttributeClassItem* pAttrClassItem = new NodeAttributeClassItem; 00167 if (pAttrClassItem == NULL) 00168 return FALSE; 00169 00170 pAttrClassItem->AttributeClass = pAttribClass; 00171 NodeAttributeClassList.AddTail(pAttrClassItem); 00172 00173 return TRUE; 00174 }
|
|
|
|
Remove a NodeAttribute class from this details item, eg:.
to Remove the AttrFillGeometry type from the pFillDetails item. Notes: * We do nothing if pAttribClass is not in our list. We remove all occurrences of pAttribClass from our list. Definition at line 197 of file objreg.cpp. 00198 { 00199 NodeAttributeClassItem* pThisClassItem = (NodeAttributeClassItem*) 00200 NodeAttributeClassList.GetHead(); 00201 NodeAttributeClassItem* pNextClassItem = NULL; 00202 while (pThisClassItem != NULL) 00203 { 00204 pNextClassItem = (NodeAttributeClassItem*) NodeAttributeClassList.GetNext(pThisClassItem); 00205 00206 if (pThisClassItem->AttributeClass == pAttribClass) 00207 { 00208 NodeAttributeClassList.RemoveItem(pThisClassItem); 00209 delete pThisClassItem; 00210 } 00211 00212 pThisClassItem = pNextClassItem; 00213 } 00214 }
|
|
|
|
|
|
|