Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Private Member Functions
nsDebugImpl Class Reference

#include <nsDebugImpl.h>

Inheritance diagram for nsDebugImpl:
Inheritance graph
[legend]
Collaboration diagram for nsDebugImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS NS_DECL_NSIDEBUG nsDebugImpl ()
void assertion (in string aStr, in string aExpr, in string aFile, in long aLine)
void warning (in string aStr, in string aFile, in long aLine)
void break (in string aFile, in long aLine)
void abort (in string aFile, in long aLine)

Static Public Member Functions

static NS_METHOD Create (nsISupports *outer, const nsIID &aIID, void **aInstancePtr)

Private Member Functions

 ~nsDebugImpl ()

Detailed Description

Definition at line 39 of file nsDebugImpl.h.


Constructor & Destructor Documentation

Definition at line 135 of file nsDebugImpl.cpp.

{
}

Here is the caller graph for this function:

nsDebugImpl::~nsDebugImpl ( ) [inline, private]

Definition at line 49 of file nsDebugImpl.h.

{}

Member Function Documentation

void nsIDebug::abort ( in string  aFile,
in long  aLine 
) [inherited]
void nsIDebug::assertion ( in string  aStr,
in string  aExpr,
in string  aFile,
in long  aLine 
) [inherited]
void nsIDebug::break ( in string  aFile,
in long  aLine 
) [inherited]
NS_METHOD nsDebugImpl::Create ( nsISupports *  outer,
const nsIID aIID,
void **  aInstancePtr 
) [static]

Definition at line 410 of file nsDebugImpl.cpp.

{
  *aInstancePtr = nsnull;
  nsIDebug* debug = new nsDebugImpl();
  if (!debug)
    return NS_ERROR_OUT_OF_MEMORY;
  
  nsresult rv = debug->QueryInterface(aIID, aInstancePtr);
  if (NS_FAILED(rv)) {
    delete debug;
  }
  
  return rv;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void nsIDebug::warning ( in string  aStr,
in string  aFile,
in long  aLine 
) [inherited]

The documentation for this class was generated from the following files: