Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIRandomAccessStore Class Reference

#include <nsIFileStream.h>

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

List of all members.

Public Member Functions

NS_IMETHOD GetAtEOF (PRBool *outAtEOF)=0
NS_IMETHOD SetAtEOF (PRBool inAtEOF)=0
void seek (in long whence, in long long offset)
 seek
long long tell ()
 tell
void setEOF ()
 setEOF

Public Attributes

const PRInt32 NS_SEEK_SET = 0
const PRInt32 NS_SEEK_CUR = 1
const PRInt32 NS_SEEK_END = 2

Detailed Description

Definition at line 79 of file nsIFileStream.h.


Member Function Documentation

NS_IMETHOD nsIRandomAccessStore::GetAtEOF ( PRBool outAtEOF) [pure virtual]

Implemented in FileImpl.

void nsISeekableStream::seek ( in long  whence,
in long long  offset 
) [inherited]

seek

This method moves the stream offset of the steam implementing this interface.

Parameters:
whencespecifies how to interpret the 'offset' parameter in setting the stream offset associated with the implementing stream.
offsetspecifies a value, in bytes, that is used in conjunction with the 'whence' parameter to set the stream offset of the implementing stream. A negative value causes seeking in the reverse direction.
NS_IMETHOD nsIRandomAccessStore::SetAtEOF ( PRBool  inAtEOF) [pure virtual]

Implemented in FileImpl.

setEOF

This method truncates the stream at the current offset.

tell

This method reports the current offset, in bytes, from the start of the stream.


Member Data Documentation

Definition at line 62 of file nsISeekableStream.idl.

Definition at line 68 of file nsISeekableStream.idl.

Definition at line 56 of file nsISeekableStream.idl.


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