Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
rdfTriplesSerializer.cpp File Reference
#include "nsIOutputStream.h"
#include "nsReadableUtils.h"
#include "nsCRT.h"
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsPrintfCString.h"
#include "nsIBufferedStreams.h"
#include "nsNetCID.h"
#include "nsComponentManagerUtils.h"
#include "rdfISerializer.h"
#include "rdfIDataSource.h"
#include "rdfITripleVisitor.h"
#include "nsIRDFResource.h"
#include "nsIRDFLiteral.h"

Go to the source code of this file.

Classes

class  TriplesVisitor
class  rdfTriplesSerializer

Functions

nsresult NS_NewTriplesSerializer (rdfISerializer **aResult)

Function Documentation

Definition at line 147 of file rdfTriplesSerializer.cpp.

{
    NS_PRECONDITION(aResult != nsnull, "null ptr");
    if (! aResult)
        return NS_ERROR_NULL_POINTER;

    *aResult = new rdfTriplesSerializer();
    if (! *aResult)
        return NS_ERROR_OUT_OF_MEMORY;
    NS_ADDREF(*aResult);
    return NS_OK;
}

Here is the call graph for this function: