UFO: Alien Invasion
Loading...
Searching...
No Matches
ScopedFile Class Reference

#include <filesys.h>

Collaboration diagram for ScopedFile:
Collaboration graph

Public Member Functions

 ScopedFile ()
 ~ScopedFile ()
qFILEoperator& ()
 operator bool () const
bool file () const
bool zip () const
FILEgetFile () const

Private Attributes

qFILE _file

Detailed Description

Definition at line 186 of file filesys.h.

Constructor & Destructor Documentation

◆ ScopedFile()

ScopedFile::ScopedFile ( )
inline

Definition at line 190 of file filesys.h.

References _file.

◆ ~ScopedFile()

ScopedFile::~ScopedFile ( )
inline

Definition at line 194 of file filesys.h.

References _file, and FS_CloseFile().

Member Function Documentation

◆ file()

bool ScopedFile::file ( ) const
inline

Definition at line 206 of file filesys.h.

References _file.

Referenced by operator bool().

◆ getFile()

FILE * ScopedFile::getFile ( ) const
inline

Definition at line 214 of file filesys.h.

References _file, and FILE.

Referenced by WriteBSPFile().

◆ operator bool()

ScopedFile::operator bool ( ) const
inline

Definition at line 202 of file filesys.h.

References file(), and zip().

◆ operator&()

qFILE * ScopedFile::operator& ( )
inline

Definition at line 198 of file filesys.h.

References _file.

◆ zip()

bool ScopedFile::zip ( ) const
inline

Definition at line 210 of file filesys.h.

References _file.

Referenced by operator bool().

Field Documentation

◆ _file

qFILE ScopedFile::_file
private

Definition at line 188 of file filesys.h.

Referenced by file(), getFile(), operator&(), ScopedFile(), zip(), and ~ScopedFile().


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