sbFileObjectOutputStream Class Reference

#include <sbFileObjectStreams.h>

Inheritance diagram for sbFileObjectOutputStream:
Collaboration diagram for sbFileObjectOutputStream:

Public Member Functions

 sbFileObjectOutputStream ()
virtual ~sbFileObjectOutputStream ()
NS_DECL_ISUPPORTS NS_IMETHOD InitWithFile (nsIFile *aStreamedFile)
nsresult WriteObject (nsISupports *aSupports, PRBool aIsStrongRef)
nsresult WriteCString (const nsACString &aString)
nsresult WriteString (const nsAString &aString)
nsresult WriteUint32 (PRUint32 aOutInt)
nsresult WritePRBool (PRBool aBoolean)
nsresult WriteBytes (const char *aData, PRUint32 aLength)
- Public Member Functions inherited from sbFileObjectStream
 sbFileObjectStream ()
virtual ~sbFileObjectStream ()

Additional Inherited Members

- Protected Attributes inherited from sbFileObjectStream
PRBool mFileStreamIsActive
PRBool mObjectStreamIsActive

Detailed Description

Definition at line 65 of file sbFileObjectStreams.h.

Constructor & Destructor Documentation

sbFileObjectOutputStream::sbFileObjectOutputStream ( )

Definition at line 42 of file sbFileObjectStreams.cpp.

sbFileObjectOutputStream::~sbFileObjectOutputStream ( )

Definition at line 48 of file sbFileObjectStreams.cpp.

Here is the call graph for this function:

Member Function Documentation

NS_IMETHODIMP sbFileObjectOutputStream::Close ( )

Implements sbFileObjectStream.

Definition at line 153 of file sbFileObjectStreams.cpp.

Here is the caller graph for this function:

NS_IMETHODIMP sbFileObjectOutputStream::InitWithFile ( nsIFile *  aStreamedFile)

Implements sbFileObjectStream.

Definition at line 58 of file sbFileObjectStreams.cpp.

nsresult sbFileObjectOutputStream::WriteBytes ( const char *  aData,
PRUint32  aLength 

Definition at line 141 of file sbFileObjectStreams.cpp.

nsresult sbFileObjectOutputStream::WriteCString ( const nsACString &  aString)

Definition at line 99 of file sbFileObjectStreams.cpp.

nsresult sbFileObjectOutputStream::WriteObject ( nsISupports aSupports,
PRBool  aIsStrongRef 

Definition at line 86 of file sbFileObjectStreams.cpp.

Here is the caller graph for this function:

nsresult sbFileObjectOutputStream::WritePRBool ( PRBool  aBoolean)

Definition at line 131 of file sbFileObjectStreams.cpp.

nsresult sbFileObjectOutputStream::WriteString ( const nsAString &  aString)

Definition at line 110 of file sbFileObjectStreams.cpp.

nsresult sbFileObjectOutputStream::WriteUint32 ( PRUint32  aOutInt)

Definition at line 121 of file sbFileObjectStreams.cpp.

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