nsCOMArray<T> / nsIArray comments requested
[email protected] (Alec Flett) Tue, 01 Oct 2002 10:42:53 -0700
| Newsgroups | gmane.comp.mozilla.devel.xpcom |
|---|---|
| Message-ID | <[email protected]> |
I am in the process of developing two new array classes, to more or less replace nsISupportsArray: nsCOMArray<T> - a non-XPCOM array which supports typed array elements, such as nsCOMArray<nsIContent> - built upon nsVoidArray, it handles all the appropriate refcounting, and so forth nsIArray - a scriptable array interface meant as a direct replacement for nsISupportsArray There are also some enumerators, and so forth to go along with these classes. Please post comments in: http://bugzilla.mozilla.org/show_bug.cgi?id=162115 The current implementation (not yet part of the build) is in: http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsCOMArray.h http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsCOMArray.cpp http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsIArray.idl http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsArray.h http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsArray.cpp http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsArrayEnumerator.h http://lxr.mozilla.org/seamonkey/source/xpcom/ds/nsArrayEnumerator.cpp Alec -- Ask me about my 1999 Volkswagen GTI for sale in the San Francisco area!