ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/System8/s8/IO/interface/File.h
Revision: 1.2
Committed: Tue May 24 14:28:05 2011 UTC (13 years, 11 months ago) by samvel
Content type: text/plain
Branch: MAIN
CVS Tags: V00-00-04, V00-00-03, V00-00-02-04, V00-00-02-03, V00-00-02-02, V00-00-02-01, V00-00-02, HEAD
Changes since 1.1: +1 -1 lines
Log Message:
Convert IO build system to scram

File Contents

# Content
1 /**
2 * File, InputFile, OutputFile
3 * s8
4 *
5 * Created by Samvel Khalatian on Nov 12, 2010
6 * Copyright 2010, All rights reserved
7 */
8
9 #ifndef S8_FILE
10 #define S8_FILE
11
12 #include "s8/FWCore/interface/File.h"
13
14 namespace s8
15 {
16 class InputFileDelegate;
17 class OutputFileDelegate;
18
19 class InputFile: public core::InputFile
20 {
21 public:
22 InputFile() throw();
23 virtual ~InputFile() throw();
24
25 InputFileDelegate *delegate() const;
26 void setDelegate(InputFileDelegate *);
27
28 // core::InputFile interface
29 //
30 virtual void open();
31 virtual void process();
32 virtual void close();
33
34 private:
35 InputFileDelegate *_delegate;
36 };
37
38 class OutputFile: public core::OutputFile
39 {
40 public:
41 OutputFile() throw();
42 virtual ~OutputFile() throw();
43
44 OutputFileDelegate *delegate() const;
45 void setDelegate(OutputFileDelegate *);
46
47 // core::OutputFile interface
48 //
49 virtual void open();
50 virtual void close();
51
52 private:
53 OutputFileDelegate *_delegate;
54 };
55 }
56
57 #endif