Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

wvfile.h

Go to the documentation of this file.
00001 /*
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  * 
00005  * A simple class to access filesystem files using WvStreams.
00006  */
00007 #ifndef __WVFILE_H
00008 #define __WVFILE_H
00009 
00010 #include "wvstream.h"
00011 #include <fcntl.h>
00012 
00013 
00023 class WvFile : public WvStream
00024 {
00025 public:
00026     WvFile()
00027         { }
00028     WvFile(int _fd) : WvStream(_fd)
00029         { }
00030     WvFile(const WvString &filename, int mode, int create_mode = 0666)
00031         { open(filename, mode, create_mode); }
00032     bool open(const WvString &filename, int mode, int create_mode = 0666);
00033 };
00034 
00035 
00036 #endif // __WVFILE_H

Generated on Fri Apr 5 15:16:51 2002 for WvStreams by doxygen1.2.15