00001 #ifndef STORAGE_FACTORY_IO_OUTPUT_H 00002 # define STORAGE_FACTORY_IO_OUTPUT_H 00003 00004 # include "Utilities/StorageFactory/interface/IOBuffer.h" 00005 00007 class IOOutput 00008 { 00009 public: 00010 virtual ~IOOutput (void); 00011 // implicit constructor 00012 // implicit copy constructor 00013 // implicit assignment operator 00014 00015 IOSize write (unsigned char byte); 00016 IOSize write (IOBuffer from); 00017 virtual IOSize write (const void *from, IOSize n) = 0; 00018 virtual IOSize writev (const IOBuffer *from, IOSize buffers); 00019 00020 IOSize xwrite (const void *from, IOSize n); 00021 IOSize xwrite (IOBuffer from); 00022 IOSize xwritev (const IOBuffer *from, IOSize buffers); 00023 }; 00024 00025 #endif // STORAGE_FACTORY_IO_OUTPUT_H