#include <JPhotonPathReader.hh>
 | 
| 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...
  | 
|   | 
Definition at line 16 of file JPhotonPathReader.hh.
 
  
  
      
        
          | virtual void JLANG::JAccessibleBinaryInputStream::open  | 
          ( | 
          const char *  | 
          file_name | ) | 
           | 
         
       
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
  
  
      
        
          | virtual bool JLANG::JAccessibleInputStream::is_open  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
 
  
  
      
        
          | virtual void JLANG::JAccessibleInputStream::close  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
 
Enable/disable throw option. 
- Parameters
 - 
  
    | option | true enable; false disable  | 
  
   
Definition at line 37 of file JThrow.hh.
static bool do_throw
throw option 
 
 
 
 
Throw exception or return error. 
- Parameters
 - 
  
    | error | exception  | 
    | value | return code  | 
  
   
- Returns
 - return code 
 
Definition at line 50 of file JThrow.hh.
   58       cerr << error.
what() << endl;
 
virtual const char * what() const override
Get error message. 
 
static bool do_throw
throw option 
 
 
 
 
  
  
      
        
          | virtual bool JIO::JStreamReader::getStatus  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
  
  
      
        
          | virtual void JIO::JStreamReader::clear  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
  
  
      
        
          | virtual int JIO::JStreamReader::read  | 
          ( | 
          char *  | 
          buffer,  | 
         
        
           | 
           | 
          const int  | 
          length  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineoverridevirtualinherited   | 
  
 
Read byte array. 
- Parameters
 - 
  
    | buffer | pointer to byte array  | 
    | length | number of bytes  | 
  
   
- Returns
 - number of bytes read 
 
Implements JLANG::JBinaryInput.
Definition at line 65 of file JStreamIO.hh.
   67       in.read(buffer, length); 
 
 
 
 
Read serialisable data object. 
- Parameters
 - 
  
    | object | serialisable data object  | 
  
   
- Returns
 - JReader 
 
Definition at line 81 of file JSerialisable.hh.
   83       return object.read(*
this); 
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          bool &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          char &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          unsigned char &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 89 of file JSerialisable.hh.
   89 { 
read((
char*) &value, 
sizeof(
unsigned char));          
return *
this; }
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          short &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          unsigned short &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 91 of file JSerialisable.hh.
   91 { 
read((
char*) &value, 
sizeof(
unsigned short));         
return *
this; }
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          unsigned int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 93 of file JSerialisable.hh.
   93 { 
read((
char*) &value, 
sizeof(
unsigned int));           
return *
this; }
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          unsigned long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 95 of file JSerialisable.hh.
   95 { 
read((
char*) &value, 
sizeof(
unsigned long int));      
return *
this; }
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          long long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 96 of file JSerialisable.hh.
   96 { 
read((
char*) &value, 
sizeof(
long long int));          
return *
this; }
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          unsigned long long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 97 of file JSerialisable.hh.
   97 { 
read((
char*) &value, 
sizeof(
unsigned long long int)); 
return *
this; }
 
 
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          float &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          double &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
  
  
      
        
          | JReader& JIO::JReader::operator>>  | 
          ( | 
          long double &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
Definition at line 101 of file JSerialisable.hh.
  101 { 
return (*
this) >> value.
getID(); }
 
int getID() const 
Get identifier. 
 
 
 
 
Read object. 
- Parameters
 - 
  
  
 
- Returns
 - this reader 
 
Definition at line 110 of file JSerialisable.hh.
  112       return object.read(*
this);
 
 
 
 
template<class T > 
  
  
      
        
          | JReader& JIO::JReader::load  | 
          ( | 
          T &  | 
          object | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Read object. 
- Parameters
 - 
  
  
 
- Returns
 - this reader 
 
Definition at line 123 of file JSerialisable.hh.
  125       return *
this >> object;
 
 
 
 
  
  
      
        
          | JLANG::JAbstractObjectStatus::operator bool  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Type conversion operator. 
- Returns
 - status of this object 
 
Definition at line 33 of file JAbstractObjectStatus.hh.
virtual bool getStatus() const =0
Get status of object. 
 
 
 
 
  
  
      
        
          | bool JLANG::JAbstractObjectStatus::operator!  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Negated status of this object. 
- Returns
 - negated status of this object 
 
Definition at line 44 of file JAbstractObjectStatus.hh.
virtual bool getStatus() const =0
Get status of object. 
 
 
 
 
  
  | 
      
   | 
  
inlineoverridevirtualinherited   | 
  
 
Set object. 
- Parameters
 - 
  
    | object | reference to object to be set  | 
  
   
- Returns
 - true if set; else false 
 
Definition at line 46 of file JReaderObjectIterator.hh.
 
 
template<class T> 
  
  | 
      
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
template<class T> 
  
  | 
      
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
Skip items. 
- Parameters
 - 
  
    | ns | number of items to skip  | 
  
   
- Returns
 - number of items skipped 
 
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.
   94       for ( ; i != ns && 
hasNext(); ++i) {
 
unsigned int skip_type
Type definition for number of objects to skip. 
 
virtual const pointer_type & next()=0
Get next element. 
 
virtual bool hasNext()=0
Check availability of next element. 
 
 
 
 
throw option 
Set default throw option to true. 
Definition at line 28 of file JThrow.hh.
 
 
  
  
      
        
          | std::istream& JIO::JStreamReader::in | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: