test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
9 public:
10  virtual ~IOOutput (void);
11  // implicit constructor
12  // implicit copy constructor
13  // implicit assignment operator
14 
15  IOSize write (unsigned char byte);
16  IOSize write (IOBuffer from);
17  virtual IOSize write (const void *from, IOSize n) = 0;
18  virtual IOSize writev (const IOBuffer *from, IOSize buffers);
19 
20  IOSize xwrite (const void *from, IOSize n);
21  IOSize xwrite (IOBuffer from);
22  IOSize xwritev (const IOBuffer *from, IOSize buffers);
23 };
24 
25 #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:176
IOSize write(unsigned char byte)
Definition: IOOutput.cc:41
virtual IOSize writev(const IOBuffer *from, IOSize buffers)
Definition: IOOutput.cc:90
size_t IOSize
Definition: IOTypes.h:14
IOSize xwritev(const IOBuffer *from, IOSize buffers)
Definition: IOOutput.cc:215