Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/nto/File.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__File_HPP__
00002 #define __J2K__File_HPP__
00003 
00004 #include <j2k/Fred/Standard.hpp>
00005 #include <j2k/Fred/Error/JErrorController.hpp>
00006 
00007 #include <errno.h>
00008 #include <stdio.h>
00009 #include <fcntl.h>
00010 #include <unistd.h>
00011 #include <sys/types.h>
00012 #include <sys/stat.h>
00013 #include <stdlib.h>
00014 
00015 class File {
00016 public:
00017    File( const char* n, int o  = O_RDONLY );
00018    virtual ~File();
00019    size_t read( void* buffer, size_t sz );
00020    void write( const void* buffer, size_t sz );
00021 
00022 private:
00023   int fd;
00024   int oflag;
00025   //JString* name;
00026 };
00027 
00028 #endif

Generated on Sun Oct 14 18:46:35 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001