audiere::CFile Class Reference

Inheritance diagram for audiere::CFile:

Inheritance graph
[legend]
Collaboration diagram for audiere::CFile:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CFile (FILE *file)
 ~CFile ()
int read (void *buffer, int size)
bool seek (int position, SeekMode mode)
int tell ()

Detailed Description

Definition at line 8 of file file_ansi.cpp.


Constructor & Destructor Documentation

audiere::CFile::CFile FILE *  file  )  [inline]
 

Definition at line 10 of file file_ansi.cpp.

References ADR_ASSERT.

audiere::CFile::~CFile  )  [inline]
 

Definition at line 15 of file file_ansi.cpp.


Member Function Documentation

int audiere::CFile::read void *  buffer,
int  size
[inline, virtual]
 

Read size bytes from the file, storing them in buffer.

Parameters:
buffer buffer to read into
size number of bytes to read
Returns:
number of bytes successfully read

Implements audiere::File.

Definition at line 19 of file file_ansi.cpp.

References ADR_ASSERT.

bool audiere::CFile::seek int  position,
SeekMode  mode
[inline]
 

Definition at line 25 of file file_ansi.cpp.

References audiere::File::BEGIN, audiere::File::CURRENT, and audiere::File::END.

int audiere::CFile::tell  )  [inline, virtual]
 

Get current position within the file.

Returns:
current position

Implements audiere::File.

Definition at line 37 of file file_ansi.cpp.


The documentation for this class was generated from the following file:
Generated on Mon Feb 13 23:09:14 2006 for audiere by  doxygen 1.4.6