Instance & Dynamic property map changes to HashTable complete.

git-svn-id: svn://10.0.0.236/trunk@139528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-03-15 19:36:12 +00:00
parent 1b405dae1c
commit b76d8fbb79
8 changed files with 163 additions and 156 deletions

View File

@@ -1032,9 +1032,10 @@ namespace MetaData {
if (dMap) {
nameList = new const String *[dMap->size()];
length = 0;
for (DynamicPropertyIterator i = dMap->begin(), end = dMap->end(); (i != end); i++) {
if (i->second.flags & DynamicPropertyValue::ENUMERATE)
nameList[length++] = &i->first;
for (DynamicPropertyIterator dpi = dMap->begin(), dpend = dMap->end(); (dpi != dpend); dpi++) {
DynamicPropertyBinding *dpb = *dpi;
if (dpb->v.flags & DynamicPropertyValue::ENUMERATE)
nameList[length++] = &dpb->name;
}
it = 0;
return (length != 0);