Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsStringStream.h File Reference
#include "nsISeekableStream.h"
#include "nsIStringStream.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NS_STRINGINPUTSTREAM_CLASSNAME   "nsStringInputStream"
 nsStringInputStream : nsIStringInputStream , nsIInputStream , nsISeekableStream
#define NS_STRINGINPUTSTREAM_CONTRACTID   "@mozilla.org/io/string-input-stream;1"
#define NS_STRINGINPUTSTREAM_CID

Functions

NS_METHOD nsStringInputStreamConstructor (nsISupports *, REFNSIID, void **)

Define Documentation

Value:
{ /* 0abb0835-5000-4790-af28-61b3ba17c295 */         \
    0x0abb0835,                                      \
    0x5000,                                          \
    0x4790,                                          \
    {0xaf, 0x28, 0x61, 0xb3, 0xba, 0x17, 0xc2, 0x95} \
}

Definition at line 52 of file nsStringStream.h.

#define NS_STRINGINPUTSTREAM_CLASSNAME   "nsStringInputStream"

Definition at line 51 of file nsStringStream.h.


Function Documentation

NS_METHOD nsStringInputStreamConstructor ( nsISupports *  ,
REFNSIID  ,
void **   
)

Definition at line 421 of file nsStringStream.cpp.

{
    *result = nsnull;

    if (outer)
        return NS_ERROR_NO_AGGREGATION;

    nsStringInputStream *inst;
    NS_NEWXPCOM(inst, nsStringInputStream);
    if (!inst)
        return NS_ERROR_OUT_OF_MEMORY;

    NS_ADDREF(inst);
    nsresult rv = inst->QueryInterface(iid, result);
    NS_RELEASE(inst);

    return rv;
}

Here is the call graph for this function: