Jpp
|
Template specialisation of JMultipleFileScanner for trigger parameters. More...
#include <JTriggerParametersSupportkit.hh>
Public Types | |
typedef JMultipleFileScanner::input_type | input_type |
typedef JRewindableObjectIterator < JNullType >::pointer_type | pointer_type |
typedef JObjectIterator< T > ::pointer_type | pointer_type |
Public Member Functions | |
JMultipleFileScanner () | |
Default constructor. More... | |
JMultipleFileScanner (const JMultipleFileScanner_t &file_list) | |
Copy constructor. More... | |
virtual void | rewind () |
Rewind. More... | |
virtual bool | setObject (JTriggerParameters &object) |
Set object. More... | |
const JTriggerParameters & | getTriggerParameters () |
Get trigger parameters. More... | |
const std::string & | getFilename () const |
Get current file name. More... | |
counter_type | getCounter () const |
Get counter. More... | |
virtual bool | hasNext () |
Check availability of next element. More... | |
virtual const pointer_type & | next () |
Get next element. More... | |
virtual skip_type | skip (const skip_type ns) |
Skip items. More... | |
virtual skip_type | skip (const skip_type ns) |
Skip items. More... | |
virtual bool | hasNext () |
Check availability of next element. More... | |
virtual const pointer_type & | next () |
Get next element. More... | |
virtual bool | setObject (T &object)=0 |
Set object. More... | |
Protected Attributes | |
JFileScanner< JNullType > | scanner |
unsigned int | index |
counter_type | counter |
T | object |
object More... | |
bool | has_next |
status More... | |
Private Attributes | |
bool | do_next |
Template specialisation of JMultipleFileScanner for trigger parameters.
This class re-implements the methods rewind and setObject of the JLANG::JRewindableAbstractObjectIterator interface so that all trigger parameter objects in the complete file list are read and checked for consistency.
Definition at line 32 of file JTriggerParametersSupportkit.hh.
|
inherited |
Definition at line 202 of file JMultipleFileScanner.hh.
|
inherited |
Definition at line 203 of file JMultipleFileScanner.hh.
|
inherited |
Definition at line 39 of file JAbstractObjectIterator.hh.
|
inline |
Default constructor.
Definition at line 40 of file JTriggerParametersSupportkit.hh.
|
inline |
Copy constructor.
The file list is copied.
file_list | JMultipleFileScanner |
Definition at line 53 of file JTriggerParametersSupportkit.hh.
|
inlinevirtual |
Rewind.
Reimplemented from JSUPPORT::JMultipleFileScanner<>.
Definition at line 65 of file JTriggerParametersSupportkit.hh.
|
inlinevirtual |
Set object.
object | reference to object to be set |
Definition at line 77 of file JTriggerParametersSupportkit.hh.
|
inline |
Get trigger parameters.
Definition at line 123 of file JTriggerParametersSupportkit.hh.
|
inlineinherited |
Get current file name.
Note that this method should only be called when method hasNext() returns true.
Definition at line 251 of file JMultipleFileScanner.hh.
|
inlineinherited |
Get counter.
Definition at line 262 of file JMultipleFileScanner.hh.
|
inlinevirtualinherited |
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 289 of file JMultipleFileScanner.hh.
|
inlinevirtualinherited |
Get next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 337 of file JMultipleFileScanner.hh.
|
inlinevirtualinherited |
Skip items.
ns | number of items to skip |
Reimplemented in JSUPPORT::JMultipleFileScanner< JTypeList< JHead_t, JTail_t > >.
Definition at line 351 of file JMultipleFileScanner.hh.
|
inlinevirtualinherited |
Skip items.
ns | number of items to skip |
Reimplemented in JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, JLANG::JSTDObjectIterator< T >, JLANG::JAbstractObjectReader< T >, JLANG::JAbstractObjectReader< JNullType >, JLANG::JAbstractObjectReader< const T >, JLANG::JAbstractObjectReader< JTail_t >, JLANG::JAbstractObjectReader< JHead_t >, JLANG::JAbstractObjectReader< KM3NETDAQ::KM3NETDAQ::JDAQEvent >, JLANG::JAbstractObjectReader< JDAQSummaryslice >, and JLANG::JAbstractObjectReader< JTypeList< JDAQEvent, JTypelist_t > >.
Definition at line 88 of file JObjectIterator.hh.
|
inlinevirtualinherited |
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 56 of file JAbstractObjectIterator.hh.
|
inlinevirtualinherited |
Get next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 71 of file JAbstractObjectIterator.hh.
|
pure virtualinherited |
Set object.
object | reference to object to be set |
Implemented in JNET::JControlHostObjectIterator< T >, JNET::JLigierObjectIterator< T >, JSUPPORT::JDAQFileReader< T, true >, JIO::JReaderObjectIterator< T >, and JLANG::JStreamObjectIterator< T >.
|
private |
Definition at line 138 of file JTriggerParametersSupportkit.hh.
|
protectedinherited |
Definition at line 366 of file JMultipleFileScanner.hh.
|
protectedinherited |
Definition at line 367 of file JMultipleFileScanner.hh.
|
protectedinherited |
Definition at line 368 of file JMultipleFileScanner.hh.
|
protectedinherited |
object
Definition at line 34 of file JAbstractObjectIterator.hh.
|
protectedinherited |
status
Definition at line 35 of file JAbstractObjectIterator.hh.