InputFile Class Reference

Collaboration diagram for InputFile:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ifileCompression { DEFAULT, UNCOMPRESSED, GZIP, BGZF }

Public Member Functions

 InputFile (const char *filename, const char *mode, InputFile::ifileCompression compressionMode=InputFile::DEFAULT)
int ifclose ()
int ifread (void *buffer, unsigned int size)
int ifgetc ()
void ifrewind ()
int ifeof ()
unsigned int ifwrite (const void *buffer, unsigned int size)
bool isOpen ()
long int iftell ()
bool ifseek (long int offset, int origin)

Protected Member Functions

bool openFile (const char *filename, const char *mode, InputFile::ifileCompression compressionMode)
int readFromFile (void *buffer, unsigned int size)

Protected Attributes

FileTypemyFileTypePtr
char myFileBuffer [MAX_BUFFER_SIZE]
int myBufferIndex
int myCurrentBufferSize

Static Protected Attributes

static const int MAX_BUFFER_SIZE = 1048576

Detailed Description

Definition at line 33 of file InputFile.h.


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 15:38:33 2010 for StatGen Software by  doxygen 1.6.3