Go to the documentation of this file. 1 #ifndef __JSUPPORT__JTRIGGERPARAMETERSSUPPORTKIT__
2 #define __JSUPPORT__JTRIGGERPARAMETERSSUPPORTKIT__
81 using namespace JLANG;
86 unsigned int count = 0;
90 for (const_iterator i = this->begin(); i != this->end(); ++i) {
100 else if (!
object.
equals(*__p))
101 throw JException(
"JMultipleFileScanner<JTriggerParameters>::setObject(): inconsistent trigger parameters.");
127 if (!this->
hasNext() || (p = this->
next()) == NULL) {
128 throw JNullPointerException(
"JMultipleFileScanner<JTriggerParameters>::getTriggerParameters(): Missing trigger parameters.");
JTriggerParameters getTriggerParameters(const JMultipleFileScanner_t &file_list)
Get trigger parameters.
Object reading from file.
Auxiliary class for defining the range of iterations of objects.
Auxiliary base class for list of file names.
Data structure for all trigger parameters.
Abstract object iterator with rewinding.
Exception for null pointer operation.
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.
Template specialisation of JMultipleFileScanner for trigger parameters.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual const pointer_type & next()
Get next element.
JMultipleFileScanner()
Default constructor.
JMultipleFileScanner(const JMultipleFileScanner_t &file_list)
Copy constructor.
const JTriggerParameters & getTriggerParameters()
Get trigger parameters.
virtual bool hasNext()
Check availability of next element.
virtual void rewind()
Rewind.
General purpose class for object reading from a list of file names.
virtual bool setObject(JTriggerParameters &object)
Set object.
Support classes and methods for experiment specific I/O.
Auxiliary classes and methods for language specific functionality.
virtual void rewind()
Rewind.
JFileScanner< T > scanner