Back to index

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

List of all members.

Public Member Functions

 AutoFILE (FILE *fp)
 ~AutoFILE ()
 operator FILE * ()
 AutoFILE (FILE *fp=nsnull)
 ~AutoFILE ()
 operator FILE * ()
FILE ** operator& ()

Private Attributes

FILEfp_

Detailed Description

Definition at line 46 of file readstrings.cpp.


Constructor & Destructor Documentation

AutoFILE::AutoFILE ( FILE fp) [inline]

Definition at line 48 of file readstrings.cpp.

: fp_(fp) {}
AutoFILE::~AutoFILE ( ) [inline]

Definition at line 49 of file readstrings.cpp.

{ if (fp_) fclose(fp_); }

Here is the call graph for this function:

AutoFILE::AutoFILE ( FILE fp = nsnull) [inline]

Definition at line 59 of file nsINIParser.cpp.

: fp_(fp) {}
AutoFILE::~AutoFILE ( ) [inline]

Definition at line 60 of file nsINIParser.cpp.

{ if (fp_) fclose(fp_); }

Here is the call graph for this function:


Member Function Documentation

AutoFILE::operator FILE * ( ) [inline]

Definition at line 50 of file readstrings.cpp.

{ return fp_; }
AutoFILE::operator FILE * ( ) [inline]

Definition at line 61 of file nsINIParser.cpp.

{ return fp_; }
FILE** AutoFILE::operator& ( ) [inline]

Definition at line 62 of file nsINIParser.cpp.

{ return &fp_; }

Member Data Documentation

FILE * AutoFILE::fp_ [private]

Definition at line 52 of file readstrings.cpp.


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