: mCurrent(nsnull), mResult(nsnull), mNextIndex(1)
: mNextIndex(1)
ContainerEnumeratorImpl::ContainerEnumeratorImpl(nsIRDFDataSource* aDataSource,                                                 nsIRDFResource* aContainer)    : mCurrent(nsnull),      mResult(nsnull),      mNextIndex(1){    NS_INIT_REFCNT();    mDataSource = dont_QueryInterface(aDataSource);    mContainer  = dont_QueryInterface(aContainer);    if (gRefCnt++ == 0) {        nsresult rv;        NS_WITH_SERVICE(nsIRDFService, service, kRDFServiceCID, &rv);        NS_ASSERTION(NS_SUCCEEDED(rv), "unable to acquire resource manager");        if (NS_FAILED(rv))            return;        rv = service->GetResource(RDF_NAMESPACE_URI "nextVal", &kRDF_nextVal);        NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get resource");    }}