CMS 3D CMS Logo

IOInput.h
Go to the documentation of this file.
1 #ifndef STORAGE_FACTORY_IO_INPUT_H
2 #define STORAGE_FACTORY_IO_INPUT_H
3 
5 
7 class IOInput {
8 public:
9  virtual ~IOInput(void);
10  // implicit constructor
11  // implicit copy constructor
12  // implicit assignment operator
13 
14  int read(void);
15  IOSize read(IOBuffer into);
16  virtual IOSize read(void *into, IOSize n) = 0;
17  virtual IOSize readv(IOBuffer *into, IOSize buffers);
18 
19  IOSize xread(IOBuffer into);
20  IOSize xread(void *into, IOSize n);
21  IOSize xreadv(IOBuffer *into, IOSize buffers);
22 };
23 
24 #endif // STORAGE_FACTORY_IO_INPUT_H
IOSize xread(IOBuffer into)
Definition: IOInput.cc:155
virtual ~IOInput(void)
Destruct the stream. A no-op.
Definition: IOInput.cc:6
virtual IOSize readv(IOBuffer *into, IOSize buffers)
Definition: IOInput.cc:111
IOSize xreadv(IOBuffer *into, IOSize buffers)
Definition: IOInput.cc:214
int read(void)
Definition: IOInput.cc:52
size_t IOSize
Definition: IOTypes.h:14
Definition: IOInput.h:7