Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Private Member Functions | Private Attributes
nsCMSEncoder Class Reference

#include <nsCMS.h>

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

List of all members.

Public Types

enum  CalledFromType { calledFromList, calledFromObject }

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICMSENCODER 
nsCMSEncoder ()
virtual ~nsCMSEncoder ()
void start (in nsICMSMessage aMsg, in NSSCMSContentCallback cb, in voidPtr arg)
void update (in string aBuf, in long aLen)
void finish ()
void encode (in nsICMSMessage aMsg)
void shutdown (CalledFromType calledFrom)
PRBool isAlreadyShutDown ()

Private Member Functions

virtual void virtualDestroyNSSReference ()
void destructorSafeDestroyNSSReference ()

Private Attributes

nsCOMPtr< nsIInterfaceRequestorm_ctx
NSSCMSEncoderContext * m_ecx

Detailed Description

Definition at line 122 of file nsCMS.h.


Member Enumeration Documentation

Enumerator:
calledFromList 
calledFromObject 

Definition at line 270 of file nsNSSShutDown.h.


Constructor & Destructor Documentation

Definition at line 837 of file nsCMS.cpp.

: m_ecx(nsnull)
{
}

Definition at line 842 of file nsCMS.cpp.

Here is the call graph for this function:


Member Function Documentation

Definition at line 857 of file nsCMS.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void nsICMSEncoder::encode ( in nsICMSMessage  aMsg) [inherited]
void nsICMSEncoder::finish ( ) [inherited]

Definition at line 298 of file nsNSSShutDown.h.

{ return mAlreadyShutDown; }

Here is the caller graph for this function:

void nsNSSShutDownObject::shutdown ( CalledFromType  calledFrom) [inline, inherited]

Definition at line 285 of file nsNSSShutDown.h.

  {
    if (!mAlreadyShutDown) {
      if (calledFromObject == calledFrom) {
        nsNSSShutDownList::forget(this);
      }
      if (calledFromList == calledFrom) {
        virtualDestroyNSSReference();
      }
      mAlreadyShutDown = PR_TRUE;
    }
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void nsICMSEncoder::start ( in nsICMSMessage  aMsg,
in NSSCMSContentCallback  cb,
in voidPtr  arg 
) [inherited]
void nsICMSEncoder::update ( in string  aBuf,
in long  aLen 
) [inherited]

Implements nsNSSShutDownObject.

Definition at line 852 of file nsCMS.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 133 of file nsCMS.h.

NSSCMSEncoderContext* nsCMSEncoder::m_ecx [private]

Definition at line 134 of file nsCMS.h.


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