#include <sbFileObjectStreams.h>
Public Member Functions | |
sbFileObjectInputStream () | |
virtual | ~sbFileObjectInputStream () |
NS_DECL_ISUPPORTS NS_IMETHOD | InitWithFile (nsIFile *aStreamedFile) |
NS_IMETHOD | Close () |
nsresult | ReadObject (PRBool aIsStrongRef, nsISupports **aOutObject) |
nsresult | ReadCString (nsACString &aReadString) |
nsresult | ReadString (nsAString &aReadString) |
nsresult | ReadUint32 (PRUint32 *aReadInt) |
nsresult | ReadPRBool (PRBool *aReadBoolean) |
nsresult | ReadBytes (PRUint32 aLength, char **aString) |
Public Member Functions inherited from sbFileObjectStream | |
sbFileObjectStream () | |
virtual | ~sbFileObjectStream () |
Additional Inherited Members | |
Protected Attributes inherited from sbFileObjectStream | |
PRBool | mFileStreamIsActive |
PRBool | mObjectStreamIsActive |
Definition at line 98 of file sbFileObjectStreams.h.
sbFileObjectInputStream::sbFileObjectInputStream | ( | ) |
Definition at line 176 of file sbFileObjectStreams.cpp.
|
virtual |
|
virtual |
Implements sbFileObjectStream.
Definition at line 320 of file sbFileObjectStreams.cpp.
|
virtual |
Implements sbFileObjectStream.
Definition at line 196 of file sbFileObjectStreams.cpp.
nsresult sbFileObjectInputStream::ReadBytes | ( | PRUint32 | aLength, |
char ** | aString | ||
) |
Definition at line 305 of file sbFileObjectStreams.cpp.
nsresult sbFileObjectInputStream::ReadCString | ( | nsACString & | aReadString | ) |
Definition at line 249 of file sbFileObjectStreams.cpp.
nsresult sbFileObjectInputStream::ReadObject | ( | PRBool | aIsStrongRef, |
nsISupports ** | aOutObject | ||
) |
nsresult sbFileObjectInputStream::ReadPRBool | ( | PRBool * | aReadBoolean | ) |
Definition at line 290 of file sbFileObjectStreams.cpp.
nsresult sbFileObjectInputStream::ReadString | ( | nsAString & | aReadString | ) |
Definition at line 262 of file sbFileObjectStreams.cpp.
nsresult sbFileObjectInputStream::ReadUint32 | ( | PRUint32 * | aReadInt | ) |
Definition at line 275 of file sbFileObjectStreams.cpp.