Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ssobjects::File Class Reference

#include <file.h>

List of all members.

Public Methods

 File ()
 File (const char *pszFilename, const char *pszModes="rb")
 ~File ()
int open (const char *pszFilename, const char *pszModes)
void close ()
unsigned8 * load ()
void unload ()
long read (void *pDest, uint nMax=0)
long write (void *pSrc, uint nCount)
long write (CStr &string)
long getSize ()
unsigned8 * getDataPtr ()
char * fgets (char *s, int size)
char * fgetsTrimNL (char *s, int size)
 operator PFILE ()
void rewind ()
 File (const File &file)
File & operator= (const File &file)


Constructor & Destructor Documentation

File::File (    ) 
 

File::File (  const char *    pszFilename,
const char *    pszModes = "rb"
) 
 

File::~File (    ) 
 

File::File (  const File &    file ) 
 


Member Function Documentation

void File::close (    ) 
 

char * File::fgets (  char *    s,
int    size
) 
 

char * File::fgetsTrimNL (  char *    s,
int    size
) 
 

unsigned8 * File::getDataPtr (    ) 
 

long File::getSize (    ) 
 

unsigned8 * File::load (    ) 
 

int File::open (  const char *    pszFilename,
const char *    pszModes
) 
 

ssobjects::File::operator PFILE (    )  [inline]
 

File & File::operator= (  const File &    file ) 
 

long File::read (  void *    pDest,
uint    count = 0
) 
 

void File::rewind (    ) 
 

void File::unload (    ) 
 

long File::write (  CStr &    string ) 
 

long File::write (  void *    pSrc,
uint    count
) 
 


The documentation for this class was generated from the following files:
Generated on Thu Nov 8 12:39:28 2001 for SimpleServerObjects by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001