#include <JPhotonPathWriter.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 JPhotonPathWriter.hh.
 
◆ open()
  
  
      
        
          | virtual void JLANG::JAccessibleBinaryOutputStream::open  | 
          ( | 
          const char *  | 
          file_name | ) | 
           | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
 
◆ is_open()
  
  
      
        
          | virtual bool JLANG::JAccessibleOutputStream::is_open  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
 
◆ close()
  
  
      
        
          | virtual void JLANG::JAccessibleOutputStream::close  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
 
◆ Throw() [1/2]
Enable/disable throw option. 
- Parameters
 - 
  
    | option | true enable; false disable  | 
  
   
Definition at line 37 of file JThrow.hh.
 
 
◆ Throw() [2/2]
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;
 
 
 
 
◆ getStatus()
  
  
      
        
          | virtual bool JIO::JStreamWriter::getStatus  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
 
◆ write()
  
  
      
        
          | virtual int JIO::JStreamWriter::write  | 
          ( | 
          const char *  | 
          buffer,  | 
         
        
           | 
           | 
          const int  | 
          length  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
Write byte array. 
- Parameters
 - 
  
    | buffer | pointer to byte array  | 
    | length | number of bytes  | 
  
   
- Returns
 - number of bytes written 
 
Implements JLANG::JBinaryOutput.
Definition at line 113 of file JStreamIO.hh.
  115       out.write(buffer, length); 
 
 
 
 
◆ operator<<() [1/14]
Write serialisable data object. 
- Parameters
 - 
  
    | object | serialisable data object  | 
  
   
- Returns
 - JWriter 
 
Definition at line 141 of file JSerialisable.hh.
  143       return object.write(*
this); 
 
 
 
 
◆ operator<<() [2/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const bool &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [3/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const char &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [4/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const unsigned char &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 149 of file JSerialisable.hh.
  149 { 
write((
const char*) &value, 
sizeof(
unsigned char));          
return *
this; }
 
 
 
 
◆ operator<<() [5/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const short &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [6/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const unsigned short &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 151 of file JSerialisable.hh.
  151 { 
write((
const char*) &value, 
sizeof(
unsigned short));         
return *
this; }
 
 
 
 
◆ operator<<() [7/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [8/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const unsigned int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 153 of file JSerialisable.hh.
  153 { 
write((
const char*) &value, 
sizeof(
unsigned int));           
return *
this; }
 
 
 
 
◆ operator<<() [9/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [10/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const long long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 155 of file JSerialisable.hh.
  155 { 
write((
const char*) &value, 
sizeof(
long long int));          
return *
this; }
 
 
 
 
◆ operator<<() [11/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const unsigned long long int &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 156 of file JSerialisable.hh.
  156 { 
write((
const char*) &value, 
sizeof(
unsigned long long int)); 
return *
this; }
 
 
 
 
◆ operator<<() [12/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const float &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [13/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const double &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator<<() [14/14]
  
  
      
        
          | JWriter& JIO::JWriter::operator<<  | 
          ( | 
          const long double &  | 
          value | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Definition at line 159 of file JSerialisable.hh.
  159 { 
write((
const char*) &value, 
sizeof(
long double));            
return *
this; }
 
 
 
 
◆ store() [1/2]
Write object. 
- Parameters
 - 
  
  
 
- Returns
 - this writer 
 
Definition at line 168 of file JSerialisable.hh.
  170       return object.write(*
this);
 
 
 
 
◆ store() [2/2]
template<class T > 
  
  
      
        
          | JWriter& JIO::JWriter::store  | 
          ( | 
          const T &  | 
          object | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Write object. 
- Parameters
 - 
  
  
 
- Returns
 - this writer 
 
Definition at line 181 of file JSerialisable.hh.
  183       return *
this << object;
 
 
 
 
◆ operator bool()
  
  
      
        
          | JLANG::JAbstractObjectStatus::operator bool  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator!()
  
  
      
        
          | bool JLANG::JAbstractObjectStatus::operator!  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ put() [1/2]
◆ put() [2/2]
Object output. 
- Parameters
 - 
  
  
 
- Returns
 - true if OK; else false 
 
Implemented in JLANG::JNullOutput< T >, JNET::JControlHostObjectOutput< T >, JROOT::JRootObjectOutput< T, false >, JROOT::JTreeWriterObjectOutput< T >, JROOT::JRootStreamObjectOutput< T >, JLANG::JStreamObjectOutput< T >, JIO::JWriterObjectOutput< T >, JLANG::JAbstractObjectWriter< T >, JLANG::JNullOutput< JTail_t >, JNET::JControlHostObjectOutput< JTail_t >, JLANG::JStreamObjectOutput< JTail_t >, JLANG::JAbstractObjectWriter< JTail_t >, JLANG::JNullOutput< JHead_t >, JNET::JControlHostObjectOutput< JHead_t >, JLANG::JStreamObjectOutput< JHead_t >, JLANG::JAbstractObjectWriter< JHead_t >, JLANG::JObjectDemultiplexer< JBase_t, JTypeList< JHead_t, JTail_t > >, JLANG::JObjectDemultiplexer< JBase_t, JDerived_t >, JLANG::JObjectDemultiplexer< JBase_t, JTail_t >, JLANG::JObjectDemultiplexer< JBase_t, JHead_t >, JLANG::JStreamObjectOutput< Head >, and JLANG::JStreamObjectOutput< Evt >.
 
 
◆ do_throw
throw option 
Set default throw option to true. 
Definition at line 28 of file JThrow.hh.
 
 
◆ out
  
  
      
        
          | std::ostream& JIO::JStreamWriter::out | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: