Container for historical events.  
 More...
#include <JHistory.hh>
Container for historical events. 
Definition at line 95 of file JHistory.hh.
 
◆ JHistory() [1/3]
  
  
      
        
          | JFIT::JHistory::JHistory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JHistory() [2/3]
  
  
      
        
          | JFIT::JHistory::JHistory  | 
          ( | 
          const int  | 
          type | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JHistory() [3/3]
  
  
      
        
          | JFIT::JHistory::JHistory  | 
          ( | 
          const JHistory &  | 
          history,  | 
         
        
           | 
           | 
          const int  | 
          type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | history | history  | 
    | type | application type  | 
  
   
Definition at line 205 of file JHistory.hh.
 
 
◆ ~JHistory()
  
  
      
        
          | virtual JFIT::JHistory::~JHistory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ getHistory() [1/2]
  
  
      
        
          | const JHistory& JFIT::JHistory::getHistory  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get history. 
- Returns
 - histtory 
 
Definition at line 225 of file JHistory.hh.
  227       return static_cast<const JHistory&>(*
this);
 
 
 
 
◆ getHistory() [2/2]
  
  
      
        
          | JHistory& JFIT::JHistory::getHistory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get history. 
- Returns
 - histtory 
 
Definition at line 236 of file JHistory.hh.
  238       return static_cast<JHistory&>(*
this);
 
 
 
 
◆ add()
  
  
      
        
          | JHistory& JFIT::JHistory::add  | 
          ( | 
          const int  | 
          type | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Add event to history. 
- Parameters
 - 
  
  
 
- Returns
 - this history 
 
Definition at line 248 of file JHistory.hh.
  250       push_back(
JEvent(type, this->size() + 1));
 
 
 
 
◆ ClassDef()
      
        
          | JFIT::JHistory::ClassDef  | 
          ( | 
          JHistory  | 
          ,  | 
        
        
           | 
           | 
          1  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ operator<<
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JHistory &  | 
          history  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write history to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | history | history  | 
  
   
- Returns
 - output stream 
 
Definition at line 263 of file JHistory.hh.
  267       for (const_iterator i = history.begin(); i != history.end(); ++i) {
 
 
 
 
The documentation for this struct was generated from the following file:
 
JHistory & add(const int type)
Add event to history.