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
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
IOOutput
Definition: IOOutput.h:7
IOOutput::writev
virtual IOSize writev(const IOBuffer *from, IOSize buffers)
Definition: IOOutput.cc:84
IOBuffer.h
IOBuffer
Definition: IOBuffer.h:7
IOOutput::~IOOutput
virtual ~IOOutput(void)
Destruct the stream. A no-op.
Definition: IOOutput.cc:6
IOOutput::xwritev
IOSize xwritev(const IOBuffer *from, IOSize buffers)
Definition: IOOutput.cc:199
IOOutput::write
IOSize write(unsigned char byte)
Definition: IOOutput.cc:39
IOSize
size_t IOSize
Definition: IOTypes.h:14
IOOutput::xwrite
IOSize xwrite(const void *from, IOSize n)
Definition: IOOutput.cc:162