#include <IoDummyStreamItr.h>
Inheritance diagram for IoDummyStreamItr:

Public Member Functions | |
| IoDummyStreamItr () | |
| ~IoDummyStreamItr () | |
| bool | IsValid () const |
| const char * | GetFormat () const |
| int | LoadRecords (MomNavigator *m) |
| int | Increment (int n=1, MomNavigator *m=0) |
| int | Decrement (int n=1, MomNavigator *m=0) |
| JobCResult | GoTo (const VldContext &vld, MomNavigator *m=0) |
| virtual int | GoToEOF () |
| virtual int | DefineStream (const char *streamname, const char *treename) |
| virtual int | Streams (const char *streamlist) |
| virtual int | Select (const char *stream, const char *selection, bool isRequired=false) |
| virtual int | SetSequenceMode (const char *stream, Per::ESequenceMode seqmode) |
| virtual int | SetWindow (const char *stream, double lower, double upper) |
| virtual void | AddFile (const char *fullfilepathname, int at=-1, const char *streamlist="*") |
| virtual const char * | GetCurrentFile (const char *streamname="*") const |
| virtual JobCResult | GoToFile (int i, const char *streamlist="*") |
| virtual JobCResult | GoToFile (const char *fullfilepathname, const char *streamlist="*") |
| virtual JobCResult | NextFile (int n=1, const char *streamlist="*") |
| virtual JobCResult | PrevFile (int n=1, const char *streamlist="*") |
| virtual void | RemoveFile (const char *fullfilepathname="*", const char *streamlist="*") |
| virtual std::ostream & | ListFile (std::ostream &os, const char *streamlist="*") const |
Private Attributes | |
| bool | fIsValid |
|
|
Definition at line 18 of file IoDummyStreamItr.cxx. 00018 : fIsValid(true) { 00019 //====================================================================== 00020 // Default constructor 00021 //====================================================================== 00022 00023 return; 00024 }
|
|
|
Definition at line 28 of file IoDummyStreamItr.cxx. 00028 {
00029 //======================================================================
00030 // Destructor
00031 //======================================================================
00032
00033 }
|
|
||||||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 167 of file IoDummyStreamItr.cxx. References MSG. 00168 {
00169 //======================================================================
00170 // Purpose: Add file fullfilepathname to index position at in filelist
00171 // associated with the stream(s) in streamlist.
00172 //======================================================================
00173
00174 MSG("Io",Msg::kWarning) <<
00175 "IoDummy AddFile not supported. Ignored!" << endl;
00176
00177 return;
00178
00179 }
|
|
||||||||||||
|
Implements IoDataStreamItr. Definition at line 56 of file IoDummyStreamItr.cxx. 00056 {
00057 //======================================================================
00058 // Rewind n record sets. Returns number of record sets rewound.
00059 //======================================================================
00060 return n;
00061 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 90 of file IoDummyStreamItr.cxx. References MSG. 00092 {
00093 //======================================================================
00094 // Define stream with name streamname to serve tree of name treename.
00095 //======================================================================
00096
00097 MSG("Io",Msg::kWarning) <<
00098 "IoDummy DefineStream not supported. Ignored!" << endl;
00099
00100 return 1;
00101 }
|
|
|
Reimplemented from IoDataStreamItr. Definition at line 183 of file IoDummyStreamItr.cxx. References MSG. 00184 {
00185 //======================================================================
00186 // Purpose: Return current file of specified stream.
00187 //======================================================================
00188
00189 MSG("Io",Msg::kWarning) <<
00190 "IoDummy GetCurrentFile not supported. Ignored!" << endl;
00191 return "";
00192
00193 }
|
|
|
Implements IoDataStreamItr. Definition at line 27 of file IoDummyStreamItr.h. 00027 { return "dummy"; }
|
|
||||||||||||
|
Implements IoDataStreamItr. Definition at line 65 of file IoDummyStreamItr.cxx. References MSG. 00065 {
00066 //======================================================================
00067 // Go directly to a record with a specified validity context.
00068 //======================================================================
00069
00070 MSG("Io",Msg::kWarning) << "IoDummy GoTo " << vld
00071 << " not supported. Ignored!" << endl;
00072
00073 return JobCResult::kAOK; // success
00074 }
|
|
|
Reimplemented from IoDataStreamItr. Definition at line 78 of file IoDummyStreamItr.cxx. References MSG. 00078 {
00079 //======================================================================
00080 // Advance to the end of all files
00081 //======================================================================
00082 MSG("Io",Msg::kWarning) <<
00083 "IoDummy GoToEOF not supported. Ignored!" << endl;
00084
00085 return 1;
00086 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 212 of file IoDummyStreamItr.cxx. References MSG. 00213 {
00214 //======================================================================
00215 // Purpose: GoToFile filename in filelist of specified streams.
00216 //======================================================================
00217
00218 MSG("Io",Msg::kWarning) <<
00219 "IoDummy GoToFile not supported. Ignored!" << endl;
00220
00221 return JobCResult::kAOK;
00222 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 197 of file IoDummyStreamItr.cxx. References MSG. 00198 {
00199 //======================================================================
00200 // Purpose: GoToFile at position n in filelist of specified streams.
00201 //======================================================================
00202
00203 MSG("Io",Msg::kWarning) <<
00204 "IoDummy GoToFile not supported. Ignored!" << endl;
00205
00206 return JobCResult::kAOK;
00207
00208 }
|
|
||||||||||||
|
Implements IoDataStreamItr. Definition at line 47 of file IoDummyStreamItr.cxx. 00047 {
00048 //======================================================================
00049 // Advance n record sets. Returns number of record sets advanced.
00050 //======================================================================
00051 return n;
00052 }
|
|
|
Implements IoDataStreamItr. Definition at line 26 of file IoDummyStreamItr.h. 00026 { return fIsValid; }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 270 of file IoDummyStreamItr.cxx. 00271 {
00272 //======================================================================
00273 // Purpose: List files in file list of specified stream(s).
00274 //
00275 // Arguments: os ostream to direct print.
00276 // streamlist Delimiter separated list of streams (e.g.
00277 // "DaqSnarl,DaqMonitor") on which to apply action.
00278 // If streamlist = "*" (default) => apply to all streams.
00279 //
00280 // Return: ostream reference.
00281 //
00282 // Contact: S. Kasahara
00283 //======================================================================
00284
00285 os << "IoDummyStreamItr::ListFile: No input files." << endl;
00286
00287 return os;
00288 }
|
|
|
Implements IoDataStreamItr. Definition at line 37 of file IoDummyStreamItr.cxx. 00037 {
00038 //======================================================================
00039 // Returns number of records loaded.
00040 //======================================================================
00041 int nrecord = 0;
00042 return nrecord;
00043 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 226 of file IoDummyStreamItr.cxx. References MSG. 00227 {
00228 //======================================================================
00229 // Purpose: Advance forward n files in filelist of specified stream(s).
00230 //======================================================================
00231
00232 MSG("Io",Msg::kWarning) <<
00233 "IoDummy NextFile not supported. Ignored!" << endl;
00234
00235 return JobCResult::kAOK;
00236
00237 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 241 of file IoDummyStreamItr.cxx. References MSG. 00242 {
00243 //======================================================================
00244 // Purpose: Rewind backward n files in filelist of specified stream(s).
00245 //======================================================================
00246
00247 MSG("Io",Msg::kWarning) <<
00248 "IoDummy PrevFile not supported. Ignored!" << endl;
00249
00250 return JobCResult::kAOK;
00251
00252 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 256 of file IoDummyStreamItr.cxx. 00257 {
00258 //======================================================================
00259 // Purpose: Remove file filename from filelist associated with the
00260 // stream(s) in streamlist.
00261 //======================================================================
00262
00263 // No managed files to remove.
00264 return;
00265
00266 }
|
|
||||||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 120 of file IoDummyStreamItr.cxx. References MSG. 00121 {
00122 //======================================================================
00123 // Set the selection cuts for named stream. Returns 0 if stream not
00124 // open, else 1.
00125 //======================================================================
00126
00127 MSG("Io",Msg::kWarning) <<
00128 "IoDummy Select not supported. Ignored!" << endl;
00129
00130 return 0;
00131
00132 }
|
|
||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 136 of file IoDummyStreamItr.cxx. References MSG. 00137 {
00138 //======================================================================
00139 // Set the sequence mode for named stream. Returns 0 if stream not
00140 // open, else 1.
00141 //======================================================================
00142
00143 MSG("Io",Msg::kWarning) <<
00144 "IoDummy Select not supported. Ignored!" << endl;
00145
00146 return 0;
00147
00148 }
|
|
||||||||||||||||
|
Reimplemented from IoDataStreamItr. Definition at line 152 of file IoDummyStreamItr.cxx. References MSG. 00153 {
00154 //======================================================================
00155 //Set the window for named stream. Returns 0 if stream not open, else 1
00156 //======================================================================
00157
00158 MSG("Io",Msg::kWarning) <<
00159 "IoDummy Select not supported. Ignored!" << endl;
00160
00161 return 0;
00162
00163 }
|
|
|
Reimplemented from IoDataStreamItr. Definition at line 105 of file IoDummyStreamItr.cxx. 00105 {
00106 //======================================================================
00107 // Modify open streams to match those specified in streams. streams
00108 // is a delimiter separated list of streamnames. Returns number of
00109 // streams open.
00110 //======================================================================
00111
00112 // MSG("Io",Msg::kWarning) <<
00113 // "IoDummy Streams " << streams << " not supported. Ignored!" << endl;
00114
00115 return 0;
00116 }
|
|
|
Definition at line 56 of file IoDummyStreamItr.h. |
1.3.9.1