#include <ngitem.h>
Inheritance diagram for SGUsedNames:
Public Member Functions | |
SGUsedNames () | |
virtual BOOL | IsMember (Node *, const StringBase &) const |
virtual BOOL | CreateItems (Node *) |
Create 'Used Names' set items for the node, as appropriate. |
Definition at line 288 of file ngitem.h.
|
Definition at line 291 of file ngitem.h. 00292 : SGNameGroup(_R(IDS_NAMEGAL_NAMES_TYPE), _R(IDS_NAMEGAL_NAMES_TITLE)) 00293 { /* empty */ }
|
|
Create 'Used Names' set items for the node, as appropriate.
Implements SGNameGroup. Definition at line 1158 of file ngitem.cpp. 01159 { 01160 TemplateAttribute* pAttr; 01161 for (pAttr = (TemplateAttribute*) pNode->FindFirstAttr( &Node::IsAnObjectName ); 01162 pAttr != 0; 01163 pAttr = (TemplateAttribute*) pAttr->FindNextAttr( &Node::IsAnObjectName ) ) 01164 if (RegisterMember(pNode, pAttr->GetParam()) == 0) 01165 return FALSE; 01166 01167 return TRUE; 01168 }
|
|
Implements SGNameGroup. Definition at line 1132 of file ngitem.cpp. 01133 { 01134 TemplateAttribute* pAttr; 01135 for (pAttr = (TemplateAttribute*) pNode->FindFirstAttr( &Node::IsAnObjectName ); 01136 pAttr != 0; 01137 pAttr = (TemplateAttribute*) pAttr->FindNextAttr( &Node::IsAnObjectName ) ) 01138 if (strName == pAttr->GetParam()) 01139 return TRUE; 01140 01141 return FALSE; 01142 }
|