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 {
9 public:
10  virtual ~IOInput (void);
11  // implicit constructor
12  // implicit copy constructor
13  // implicit assignment operator
14 
15  int read (void);
16  IOSize read (IOBuffer into);
17  virtual IOSize read (void *into, IOSize n) = 0;
18  virtual IOSize readv (IOBuffer *into, IOSize buffers);
19 
20  IOSize xread (IOBuffer into);
21  IOSize xread (void *into, IOSize n);
22  IOSize xreadv (IOBuffer *into, IOSize buffers);
23 };
24 
25 #endif // STORAGE_FACTORY_IO_INPUT_H
IOSize xread(IOBuffer into)
Definition: IOInput.cc:166
virtual ~IOInput(void)
Destruct the stream. A no-op.
Definition: IOInput.cc:6
virtual IOSize readv(IOBuffer *into, IOSize buffers)
Definition: IOInput.cc:117
IOSize xreadv(IOBuffer *into, IOSize buffers)
Definition: IOInput.cc:229
int read(void)
Definition: IOInput.cc:54
size_t IOSize
Definition: IOTypes.h:14
Definition: IOInput.h:7