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

filemem.h

Go to the documentation of this file.
00001 
00002 
00003 //
00004 //      FILEMEM.H                                       (c)     YoY'00                                          WEB: www.aestesis.org
00005 //
00008 #ifndef                                                 _FILEMEM_H_
00009 #define                                                 _FILEMEM_H_
00012 #include                                                "types.h"
00013 #include                                                "file.h"
00016 
00017 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...   
00018 
00021 
00022 #define                                                 guidFILEMEM                                             (Afilemem::CI.guid)
00023 
00026 
00027 class Afilemem : public Afile
00028 {
00029         ALIBOBJ
00030 
00031         ADLL                                            Afilemem                                                (char *name, void *buffer, int bufsize);
00032         ADLL virtual                            ~Afilemem                                               ();
00033 
00034         ADLL virtual int                        read                                                    (void *p, int s);
00035         ADLL virtual int                        write                                                   (void *p, int s);
00036 
00037         ADLL virtual bool                       writeString                                             (char *s);
00038         ADLL virtual bool                       readString                                              (char *s);
00039 
00040         ADLL virtual bool                       seek                                                    (int n);
00041         ADLL virtual int                        getSize                                                 ();
00042 
00043         // private
00044         int                                                     bufsize;
00045         void                                            *buffer;
00046 };
00047 
00050 #endif                                                  //_FILE_H_

Generated on Tue Nov 20 10:21:25 2001 for elektronika plugz SDK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001