1 #ifndef __JSUPPORT__JTRIGGERPARAMETERSSUPPORTKIT__
2 #define __JSUPPORT__JTRIGGERPARAMETERSSUPPORTKIT__
15 namespace JPP {
using namespace JSUPPORT; }
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.");
Template specialisation of JMultipleFileScanner for trigger parameters.
virtual const pointer_type & next()
Get next element.
Data structure for all trigger parameters.
const JTriggerParameters & getTriggerParameters()
Get trigger parameters.
Auxiliary class for defining the range of iterations of objects.
JMultipleFileScanner()
Default constructor.
Exception for null pointer operation.
virtual bool setObject(JTriggerParameters &object)
Set object.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
virtual bool hasNext()
Check availability of next element.
JFileScanner< T > scanner
Auxiliary base class for list of file names.
General purpose class for object reading from a list of file names.
virtual void rewind()
Rewind.
Object reading from file.
Abstract object iterator with rewinding.
JMultipleFileScanner(const JMultipleFileScanner_t &file_list)
Copy constructor.
JTriggerParameters getTriggerParameters(const JMultipleFileScanner_t &file_list)
Get trigger parameters.
virtual void rewind()
Rewind.