Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
SubmissionAttachmentArray Class Reference

List of all members.

Public Member Functions

 SubmissionAttachmentArray ()
 ~SubmissionAttachmentArray ()
nsresult Append (nsIFile *file, const nsCString &cid)
PRUint32 Count () const
SubmissionAttachmentItem (PRUint32 index)

Detailed Description

Definition at line 259 of file nsXFormsSubmissionElement.cpp.


Constructor & Destructor Documentation

Definition at line 262 of file nsXFormsSubmissionElement.cpp.

{}

Definition at line 263 of file nsXFormsSubmissionElement.cpp.

  {
    for (PRUint32 i=0; i<Count(); ++i)
      delete (SubmissionAttachment *) ElementAt(i);
  }

Here is the call graph for this function:


Member Function Documentation

Definition at line 268 of file nsXFormsSubmissionElement.cpp.

  {
    SubmissionAttachment *a = new SubmissionAttachment;
    if (!a)
      return NS_ERROR_OUT_OF_MEMORY;
    a->file = file;
    a->cid = cid;
    AppendElement(a);
    return NS_OK;
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 278 of file nsXFormsSubmissionElement.cpp.

  {
    return (PRUint32) nsVoidArray::Count();
  }

Here is the caller graph for this function:

Definition at line 282 of file nsXFormsSubmissionElement.cpp.

  {
    return (SubmissionAttachment *) ElementAt(index);
  }

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