Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsCompositeDataSource.cpp File Reference
#include "xpcom-config.h"
#include "nsCOMPtr.h"
#include "nsIComponentManager.h"
#include "nsIEnumerator.h"
#include "nsIRDFCompositeDataSource.h"
#include "nsIRDFNode.h"
#include "nsIRDFObserver.h"
#include "nsIRDFRemoteDataSource.h"
#include "nsFixedSizeAllocator.h"
#include "nsVoidArray.h"
#include "nsCOMArray.h"
#include "nsArrayEnumerator.h"
#include "nsXPIDLString.h"
#include "rdf.h"
#include "nsEnumeratorUtils.h"

Go to the source code of this file.

Classes

class  CompositeDataSourceImpl
class  CompositeEnumeratorImpl
class  CompositeArcsInOutEnumeratorImpl
class  CompositeAssertionEnumeratorImpl

Functions

static NS_DEFINE_IID (kISupportsIID, NS_ISUPPORTS_IID)
nsresult NS_NewRDFCompositeDataSource (nsIRDFCompositeDataSource **result)

Function Documentation

static NS_DEFINE_IID ( kISupportsIID  ,
NS_ISUPPORTS_IID   
) [static]

Definition at line 610 of file nsCompositeDataSource.cpp.

{
    CompositeDataSourceImpl* db = new CompositeDataSourceImpl();
    if (! db)
        return NS_ERROR_OUT_OF_MEMORY;

    *result = db;
    NS_ADDREF(*result);
    return NS_OK;
}

Here is the call graph for this function: