Logo Search packages:      
Sourcecode: catcodec version File versions  Download package

Public Member Functions | Private Attributes

FileReader Class Reference

#include <io.hpp>

List of all members.

Public Member Functions

 FileReader (string filename, bool binary=true)
string GetFilename () const
uint32_t GetPos ()
uint8_t ReadByte ()
uint32_t ReadDword ()
char * ReadLine (char *in, int length)
void ReadRaw (uint8_t *in, size_t amount)
uint16_t ReadWord ()
void Seek (uint32_t pos)
 ~FileReader ()

Private Attributes

FILE * file
 The file to be read by this instance.
string filename
 The filename of the file.

Detailed Description

Simple class to perform binary and string reading from a file.

Definition at line 32 of file io.hpp.

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

Generated by  Doxygen 1.6.0   Back to index