![]() |
![]() |
00001 #ifndef STORAGE_FACTORY_IO_INPUT_H 00002 # define STORAGE_FACTORY_IO_INPUT_H 00003 00004 # include "Utilities/StorageFactory/interface/IOBuffer.h" 00005 00007 class IOInput 00008 { 00009 public: 00010 virtual ~IOInput (void); 00011 // implicit constructor 00012 // implicit copy constructor 00013 // implicit assignment operator 00014 00015 int read (void); 00016 IOSize read (IOBuffer into); 00017 virtual IOSize read (void *into, IOSize n) = 0; 00018 virtual IOSize readv (IOBuffer *into, IOSize buffers); 00019 00020 IOSize xread (IOBuffer into); 00021 IOSize xread (void *into, IOSize n); 00022 IOSize xreadv (IOBuffer *into, IOSize buffers); 00023 }; 00024 00025 #endif // STORAGE_FACTORY_IO_INPUT_H