Jpp 19.3.0-rc.2
the software that should make you happy
|
Template specialisation of JMultipleFileScanner for trigger parameters. More...
#include <JTriggerParametersSupportkit.hh>
Public Types | |
typedef JMultipleFileScanner ::input_type | input_type |
typedef JRewindableObjectIterator< T >::pointer_type | pointer_type |
typedef JObjectIterator< T >::pointer_type | pointer_type |
Public Member Functions | |
JMultipleFileScanner () | |
Default constructor. | |
JMultipleFileScanner (const JMultipleFileScanner_t &file_list) | |
Copy constructor. | |
virtual void | rewind () override |
Rewind. | |
virtual bool | setObject (JTriggerParameters &object) override |
Set object. | |
const JTriggerParameters & | getTriggerParameters () |
Get trigger parameters. | |
const std::string & | getFilename () const |
Get current file name. | |
counter_type | getCounter () const |
Get counter. | |
virtual bool | hasNext () override |
Check availability of next element. | |
virtual const pointer_type & | next () override |
Get next element. | |
virtual skip_type | skip (const skip_type ns) override |
Skip items. | |
virtual bool | hasNext () override |
Check availability of next element. | |
virtual const pointer_type & | next () override |
Get next element. | |
virtual bool | setObject (T &object)=0 |
Set object. | |
Protected Attributes | |
JFileScanner< T > | scanner |
unsigned int | index |
counter_type | counter |
T | object |
object | |
bool | has_next |
status | |
Private Attributes | |
bool | do_next |
pointer_type | ps |
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.
Definition at line 309 of file JMultipleFileScanner.hh.
|
inherited |
Definition at line 310 of file JMultipleFileScanner.hh.
|
inherited |
Definition at line 39 of file JAbstractObjectIterator.hh.
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.
|
inlineoverridevirtual |
Rewind.
Reimplemented from JSUPPORT::JMultipleFileScanner<>.
Definition at line 65 of file JTriggerParametersSupportkit.hh.
|
inlineoverridevirtual |
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 371 of file JMultipleFileScanner.hh.
|
inlineinherited |
|
inlineoverridevirtualinherited |
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 409 of file JMultipleFileScanner.hh.
|
inlineoverridevirtualinherited |
Get next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 457 of file JMultipleFileScanner.hh.
|
inlineoverridevirtualinherited |
Skip items.
ns | number of items to skip |
Reimplemented from JLANG::JObjectIterator< T >.
Reimplemented in JSUPPORT::JMultipleFileScanner< JTypeList< JHead_t, JTail_t > >.
Definition at line 471 of file JMultipleFileScanner.hh.
|
inlineoverridevirtualinherited |
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 56 of file JAbstractObjectIterator.hh.
|
inlineoverridevirtualinherited |
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 JDATABASE::JDatabaseObjectIterator< T >, JIO::JReaderObjectIterator< T >, JLANG::JStreamObjectIterator< T >, JNET::JControlHostObjectIterator< T >, JNET::JLigierObjectIterator< T >, and JSUPPORT::JDAQFileReader< T, true >.
|
private |
Definition at line 138 of file JTriggerParametersSupportkit.hh.
|
protectedinherited |
Definition at line 486 of file JMultipleFileScanner.hh.
|
protectedinherited |
Definition at line 487 of file JMultipleFileScanner.hh.
|
protectedinherited |
Definition at line 488 of file JMultipleFileScanner.hh.
|
protectedinherited |
object
Definition at line 34 of file JAbstractObjectIterator.hh.
|
protectedinherited |
status
Definition at line 35 of file JAbstractObjectIterator.hh.
|
privateinherited |
Definition at line 84 of file JAbstractObjectIterator.hh.