| Jpp
    master_rocky-40-g5f0272dcd
    the software that should make you happy | 
Object reading from a list of files. More...
#include <JSingleFileScanner.hh>
 
  
| Public Types | |
| typedef JSingleFileScanner ::input_type | input_type | 
| typedef JRewindableObjectIterator< T >::pointer_type | pointer_type | 
| Public Member Functions | |
| JSingleFileScanner () | |
| Default constructor.  More... | |
| template<class JTypelist_t > | |
| JSingleFileScanner (const JSingleFileScanner< JTypelist_t > &input) | |
| Copy constructor.  More... | |
| JSingleFileScanner (const input_type &file_name) | |
| Constructor.  More... | |
| JSingleFileScanner (const input_type &file_name, const JLimit &limit) | |
| Constructor.  More... | |
| counter_type | getCounter () const | 
| Get counter.  More... | |
| virtual void | rewind () override | 
| Rewind.  More... | |
| virtual bool | hasNext () override | 
| Check availability of next element.  More... | |
| virtual const pointer_type & | next () override | 
| Get next element.  More... | |
| virtual skip_type | skip (const skip_type ns) override | 
| Skip items.  More... | |
| virtual skip_type | skip (const skip_type ns) | 
| Skip items.  More... | |
| Protected Attributes | |
| JFileScanner< T > | scanner | 
| counter_type | counter | 
Object reading from a list of files.
Object reading from a single file name.
This class implements the JLANG::JRewindableObjectIterator interface.
Definition at line 169 of file JSingleFileScanner.hh.
| typedef JSingleFileScanner ::input_type JSUPPORT::JSingleFileScanner< T >::input_type | 
Definition at line 175 of file JSingleFileScanner.hh.
| typedef JRewindableObjectIterator<T>::pointer_type JSUPPORT::JSingleFileScanner< T >::pointer_type | 
Definition at line 176 of file JSingleFileScanner.hh.
| 
 | inline | 
| 
 | inline | 
Copy constructor.
Note that the counter limit is not copied and the counter is set to zero.
| input | input | 
Definition at line 194 of file JSingleFileScanner.hh.
| 
 | inline | 
| 
 | inline | 
Constructor.
| file_name | file name | 
| limit | limit | 
Definition at line 219 of file JSingleFileScanner.hh.
| 
 | inline | 
| 
 | inlineoverridevirtual | 
Rewind.
Implements JLANG::JRewindable< T >.
Reimplemented in JSUPPORT::JSingleFileScanner< JTypeList< JHead_t, JTail_t > >.
Definition at line 240 of file JSingleFileScanner.hh.
| 
 | inlineoverridevirtual | 
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 257 of file JSingleFileScanner.hh.
| 
 | inlineoverridevirtual | 
Get next element.
Implements JLANG::JObjectIterator< T >.
Reimplemented in JSUPPORT::JParallelFileScanner< T, JFileScanner_t >.
Definition at line 303 of file JSingleFileScanner.hh.
| 
 | inlineoverridevirtual | 
Skip items.
| ns | number of items to skip | 
Reimplemented in JSUPPORT::JSingleFileScanner< JTypeList< JHead_t, JTail_t > >.
Definition at line 317 of file JSingleFileScanner.hh.
| 
 | inlinevirtualinherited | 
Skip items.
| ns | number of items to skip | 
Reimplemented in JLANG::JSTDObjectIterator< T >, JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, and JLANG::JAbstractObjectReader< T >.
Definition at line 90 of file JObjectIterator.hh.
| 
 | protected | 
Definition at line 328 of file JSingleFileScanner.hh.
| 
 | protected | 
Definition at line 329 of file JSingleFileScanner.hh.