CMS 3D CMS Logo

IOOutput.h
Go to the documentation of this file.
1 #ifndef STORAGE_FACTORY_IO_OUTPUT_H
2 #define STORAGE_FACTORY_IO_OUTPUT_H
3 
5 
7 class IOOutput {
8 public:
9  virtual ~IOOutput(void);
10  // implicit constructor
11  // implicit copy constructor
12  // implicit assignment operator
13 
14  IOSize write(unsigned char byte);
15  IOSize write(IOBuffer from);
16  virtual IOSize write(const void *from, IOSize n) = 0;
17  virtual IOSize writev(const IOBuffer *from, IOSize buffers);
18 
19  IOSize xwrite(const void *from, IOSize n);
20  IOSize xwrite(IOBuffer from);
21  IOSize xwritev(const IOBuffer *from, IOSize buffers);
22 };
23 
24 #endif // STORAGE_FACTORY_IO_OUTPUT_H
virtual ~IOOutput(void)
Destruct the stream. A no-op.
Definition: IOOutput.cc:6
IOSize xwrite(const void *from, IOSize n)
Definition: IOOutput.cc:162
IOSize write(unsigned char byte)
Definition: IOOutput.cc:39
virtual IOSize writev(const IOBuffer *from, IOSize buffers)
Definition: IOOutput.cc:84
size_t IOSize
Definition: IOTypes.h:14
IOSize xwritev(const IOBuffer *from, IOSize buffers)
Definition: IOOutput.cc:199