#include <sbFileObjectStreams.h>
Public Member Functions | |
sbFileObjectOutputStream () | |
virtual | ~sbFileObjectOutputStream () |
NS_DECL_ISUPPORTS NS_IMETHOD | InitWithFile (nsIFile *aStreamedFile) |
NS_IMETHOD | Close () |
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 |
Definition at line 65 of file sbFileObjectStreams.h.
sbFileObjectOutputStream::sbFileObjectOutputStream | ( | ) |
Definition at line 42 of file sbFileObjectStreams.cpp.
|
virtual |
|
virtual |
Implements sbFileObjectStream.
Definition at line 153 of file sbFileObjectStreams.cpp.
|
virtual |
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 | ||
) |
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.