| 
    Jpp
    18.1.0
    
   the software that should make you happy 
   | 
 
Template specialisation of JDAQFileReader for DAQ compatible data types. More...
#include <JDAQFileReader.hh>
  
 Public Types | |
| typedef JObjectIterator< T > ::pointer_type  | pointer_type | 
Public Member Functions | |
| JDAQFileReader () | |
| Default constructor.  More... | |
| virtual bool | setObject (T &object) override | 
| Set object.  More... | |
| virtual void | open (const char *file_name) override | 
| Open file.  More... | |
| virtual bool | is_open () const | 
| Check is file is open.  More... | |
| virtual void | close () | 
| Close file.  More... | |
| virtual bool | getStatus () const override | 
| Status of reader.  More... | |
| virtual void | clear () override | 
| Clear status of reader.  More... | |
| virtual int | read (char *buffer, const int length) override | 
| Read byte array.  More... | |
| JReader & | operator>> (JSerialisable &object) | 
| Read serialisable data object.  More... | |
| JReader & | operator>> (bool &value) | 
| JReader & | operator>> (char &value) | 
| JReader & | operator>> (unsigned char &value) | 
| JReader & | operator>> (short &value) | 
| JReader & | operator>> (unsigned short &value) | 
| JReader & | operator>> (int &value) | 
| JReader & | operator>> (unsigned int &value) | 
| JReader & | operator>> (long int &value) | 
| JReader & | operator>> (unsigned long int &value) | 
| JReader & | operator>> (long long int &value) | 
| JReader & | operator>> (unsigned long long int &value) | 
| JReader & | operator>> (float &value) | 
| JReader & | operator>> (double &value) | 
| JReader & | operator>> (long double &value) | 
| JReader & | operator>> (JLANG::JObjectID &value) | 
| JReader & | load (JSerialisable &object) | 
| Read object.  More... | |
| template<class T > | |
| JReader & | load (T &object) | 
| Read object.  More... | |
| operator bool () const | |
| Type conversion operator.  More... | |
| bool | operator! () const | 
| Negated status of this object.  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) | 
| Skip items.  More... | |
Static Public Member Functions | |
| static void | Throw (const bool option) | 
| Enable/disable throw option.  More... | |
| static int | Throw (const JException &error, const int value=-1) | 
| Throw exception or return error.  More... | |
Protected Attributes | |
| std::istream & | in | 
| T | object | 
| object  More... | |
| bool | has_next | 
| status  More... | |
Static Protected Attributes | |
| static bool | do_throw | 
| throw option  More... | |
Private Attributes | |
| JDAQPreamble | preamble | 
| std::vector< char > | buffer | 
Template specialisation of JDAQFileReader for DAQ compatible data types.
This class provides for an implementation of the JLANG::JAccessibleObjectIterator interface.
The method JLANG::JAbstractObjectIterator::setObject is overwritten so that the desired object is read from the file which may contain also other objects. 
Definition at line 51 of file JDAQFileReader.hh.
      
  | 
  inherited | 
Definition at line 39 of file JAbstractObjectIterator.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 61 of file JDAQFileReader.hh.
      
  | 
  inlineoverridevirtual | 
Set object.
| object | reference to object to be set | 
Reimplemented from JIO::JReaderObjectIterator< T >.
Definition at line 74 of file JDAQFileReader.hh.
      
  | 
  inlineoverridevirtualinherited | 
Open file.
| file_name | file name | 
Reimplemented from JLANG::JAccessibleInputStream.
Definition at line 52 of file JAccessibleBinaryStream.hh.
      
  | 
  inlinevirtualinherited | 
Check is file is open.
Implements JLANG::JAccessible.
Definition at line 53 of file JAccessibleStream.hh.
      
  | 
  inlinevirtualinherited | 
      
  | 
  inlinestaticinherited | 
      
  | 
  inlinestaticinherited | 
Throw exception or return error.
| error | exception | 
| value | return code | 
Definition at line 50 of file JThrow.hh.
      
  | 
  inlineoverridevirtualinherited | 
Status of reader.
Implements JLANG::JAbstractObjectStatus.
Definition at line 43 of file JStreamIO.hh.
      
  | 
  inlineoverridevirtualinherited | 
Clear status of reader.
Reimplemented from JIO::JReader.
Definition at line 52 of file JStreamIO.hh.
      
  | 
  inlineoverridevirtualinherited | 
Read byte array.
| buffer | pointer to byte array | 
| length | number of bytes | 
Implements JLANG::JBinaryInput.
Definition at line 65 of file JStreamIO.hh.
      
  | 
  inlineinherited | 
Read serialisable data object.
| object | serialisable data object | 
Definition at line 81 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 87 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 88 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 89 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 90 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 91 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 92 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 93 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 94 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 95 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 96 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 97 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 98 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 99 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 100 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Definition at line 101 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Read object.
| object | object | 
Definition at line 110 of file JSerialisable.hh.
Read object.
| object | object | 
Definition at line 123 of file JSerialisable.hh.
      
  | 
  inlineinherited | 
Type conversion operator.
Definition at line 33 of file JAbstractObjectStatus.hh.
      
  | 
  inlineinherited | 
Negated status of this object.
Definition at line 44 of file JAbstractObjectStatus.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.
      
  | 
  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 >, and JLANG::JAbstractObjectReader< JDAQSummaryslice >.
Definition at line 90 of file JObjectIterator.hh.
      
  | 
  mutableprivate | 
Definition at line 113 of file JDAQFileReader.hh.
      
  | 
  mutableprivate | 
Definition at line 114 of file JDAQFileReader.hh.
      
  | 
  staticprotectedinherited | 
      
  | 
  protectedinherited | 
Definition at line 73 of file JStreamIO.hh.
      
  | 
  protectedinherited | 
object
Definition at line 34 of file JAbstractObjectIterator.hh.
      
  | 
  protectedinherited | 
status
Definition at line 35 of file JAbstractObjectIterator.hh.
 1.8.5